aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/sun/opengl/impl/NativeLibLoader.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/com/sun/opengl/impl/NativeLibLoader.java')
-rw-r--r--src/jogl/classes/com/sun/opengl/impl/NativeLibLoader.java11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/jogl/classes/com/sun/opengl/impl/NativeLibLoader.java b/src/jogl/classes/com/sun/opengl/impl/NativeLibLoader.java
index 12dc8fc7d..5082f01dd 100644
--- a/src/jogl/classes/com/sun/opengl/impl/NativeLibLoader.java
+++ b/src/jogl/classes/com/sun/opengl/impl/NativeLibLoader.java
@@ -147,13 +147,8 @@ public class NativeLibLoader extends NativeLibLoaderBase {
static {
NativeLibLoaderBase.setLoadingAction(new JOGLAction());
- AccessController.doPrivileged(new PrivilegedAction() {
- public Object run() {
- String sunAppletLauncher = System.getProperty("sun.jnlp.applet.launcher");
- usingJNLPAppletLauncher = Boolean.valueOf(sunAppletLauncher).booleanValue();
- return null;
- }
- });
+ String sunAppletLauncher = Debug.getProperty("sun.jnlp.applet.launcher", false);
+ usingJNLPAppletLauncher = Boolean.valueOf(sunAppletLauncher).booleanValue();
}
// I hate the amount of delegation currently in this class
@@ -182,7 +177,7 @@ public class NativeLibLoader extends NativeLibLoaderBase {
}
} else {
// FIXME: remove
- // System.out.println("sun.boot.library.path=" + System.getProperty("sun.boot.library.path"));
+ // System.out.println("sun.boot.library.path=" + Debug.getProperty("sun.boot.library.path", false));
System.loadLibrary(libraryName);
if(DEBUG) {
System.err.println("JOGL Loaded Native Library: "+libraryName);