aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/classes/com/sun/javafx/newt/impl/NativeLibLoader.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/newt/classes/com/sun/javafx/newt/impl/NativeLibLoader.java')
-rw-r--r--src/newt/classes/com/sun/javafx/newt/impl/NativeLibLoader.java11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/newt/classes/com/sun/javafx/newt/impl/NativeLibLoader.java b/src/newt/classes/com/sun/javafx/newt/impl/NativeLibLoader.java
index 06d76b294..4283ef6dc 100644
--- a/src/newt/classes/com/sun/javafx/newt/impl/NativeLibLoader.java
+++ b/src/newt/classes/com/sun/javafx/newt/impl/NativeLibLoader.java
@@ -99,13 +99,8 @@ public class NativeLibLoader extends NativeLibLoaderBase {
static {
NativeLibLoaderBase.setLoadingAction(new NEWTAction());
- 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
@@ -133,7 +128,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("NEWT NativeLibLoader loaded "+libraryName);