From 72a8be591d5daba1e4e231c386812c543d503fce Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Sat, 14 Jan 2023 21:31:45 +0100
Subject: Replace AccessController.doPrivileged() w/
 SecurityUtil.doPrivileged()

---
 make/config/oculusvr/oculusvr-ovr-CustomJavaCode.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'make/config/oculusvr/oculusvr-ovr-CustomJavaCode.java')

diff --git a/make/config/oculusvr/oculusvr-ovr-CustomJavaCode.java b/make/config/oculusvr/oculusvr-ovr-CustomJavaCode.java
index 691a93a16..816974191 100644
--- a/make/config/oculusvr/oculusvr-ovr-CustomJavaCode.java
+++ b/make/config/oculusvr/oculusvr-ovr-CustomJavaCode.java
@@ -2,7 +2,7 @@
     static final DynamicLibraryBundle dynamicLookupHelper;
 
     static {
-        dynamicLookupHelper = AccessController.doPrivileged(new PrivilegedAction<DynamicLibraryBundle>() {
+        dynamicLookupHelper = SecurityUtil.doPrivileged(new PrivilegedAction<DynamicLibraryBundle>() {
                     public DynamicLibraryBundle run() {
                         final DynamicLibraryBundle bundle =  new DynamicLibraryBundle(new OVRDynamicLibraryBundleInfo());
                         if(null==bundle) {
-- 
cgit v1.2.3