diff options
Diffstat (limited to 'src/java/jogamp')
-rw-r--r-- | src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java | 4 | ||||
-rw-r--r-- | src/java/jogamp/openal/Debug.java | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java b/src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java index 310ed7a..233f8b1 100644 --- a/src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java +++ b/src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java @@ -34,16 +34,16 @@ 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 com.jogamp.openal.ALFactory; -import java.security.AccessController; import java.security.PrivilegedAction; import java.util.*; public final class ALDynamicLibraryBundleInfo implements DynamicLibraryBundleInfo { private static final List<String> glueLibNames; static { - AccessController.doPrivileged(new PrivilegedAction<Object>() { + SecurityUtil.doPrivileged(new PrivilegedAction<Object>() { public Object run() { Platform.initSingleton(); diff --git a/src/java/jogamp/openal/Debug.java b/src/java/jogamp/openal/Debug.java index 94c5c32..b1985f0 100644 --- a/src/java/jogamp/openal/Debug.java +++ b/src/java/jogamp/openal/Debug.java @@ -28,11 +28,10 @@ package jogamp.openal; -import java.security.AccessController; import java.security.PrivilegedAction; import com.jogamp.common.util.PropertyAccess; - +import com.jogamp.common.util.SecurityUtil; /** Helper routines for logging and debugging. */ @@ -42,7 +41,7 @@ public class Debug extends PropertyAccess { private static boolean debugAll; static { - AccessController.doPrivileged(new PrivilegedAction<Object>() { + SecurityUtil.doPrivileged(new PrivilegedAction<Object>() { public Object run() { PropertyAccess.addTrustedPrefix("joal."); return null; |