From 72a8be591d5daba1e4e231c386812c543d503fce Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 14 Jan 2023 21:31:45 +0100 Subject: Replace AccessController.doPrivileged() w/ SecurityUtil.doPrivileged() --- .../classes/com/jogamp/oculusvr/OVRDynamicLibraryBundleInfo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/oculusvr/classes/com') diff --git a/src/oculusvr/classes/com/jogamp/oculusvr/OVRDynamicLibraryBundleInfo.java b/src/oculusvr/classes/com/jogamp/oculusvr/OVRDynamicLibraryBundleInfo.java index 4b5145ded..6e25c83bb 100644 --- a/src/oculusvr/classes/com/jogamp/oculusvr/OVRDynamicLibraryBundleInfo.java +++ b/src/oculusvr/classes/com/jogamp/oculusvr/OVRDynamicLibraryBundleInfo.java @@ -34,15 +34,15 @@ import com.jogamp.common.os.DynamicLibraryBundleInfo; import com.jogamp.common.os.Platform; import com.jogamp.common.util.RunnableExecutor; import com.jogamp.common.util.cache.TempJarCache; +import com.jogamp.common.util.SecurityUtil; -import java.security.AccessController; import java.security.PrivilegedAction; import java.util.*; /* pp */ final class OVRDynamicLibraryBundleInfo implements DynamicLibraryBundleInfo { private static final List glueLibNames; static { - AccessController.doPrivileged(new PrivilegedAction() { + SecurityUtil.doPrivileged(new PrivilegedAction() { public Object run() { Platform.initSingleton(); -- cgit v1.2.3