--- old/src/macosx/classes/apple/launcher/JavaAppLauncher.java Wed Apr 25 15:21:14 2012 +++ new/src/macosx/classes/apple/launcher/JavaAppLauncher.java Wed Apr 25 15:21:13 2012 @@ -27,7 +27,6 @@ import java.io.*; import java.lang.reflect.*; -import java.security.PrivilegedAction; import java.text.MessageFormat; import java.util.*; import java.util.jar.*; @@ -36,7 +35,13 @@ class JavaAppLauncher implements Runnable { static { - java.security.AccessController.doPrivileged((PrivilegedAction)new sun.security.action.LoadLibraryAction("osx")); + java.security.AccessController.doPrivileged( + new java.security.PrivilegedAction() { + public Void run() { + System.loadLibrary("osx"); + return null; + } + }); } private static native T nativeConvertAndRelease(final long ptr);