src/share/classes/java/awt/event/NativeLibLoader.java

Print this page

        

*** 52,59 **** * For now, we know it's done by the implementation, and we assume * that the name of the library is "awt". -br. */ static void loadLibraries() { java.security.AccessController.doPrivileged( ! new sun.security.action.LoadLibraryAction("awt")); } } --- 52,64 ---- * For now, we know it's done by the implementation, and we assume * that the name of the library is "awt". -br. */ static void loadLibraries() { java.security.AccessController.doPrivileged( ! new java.security.PrivilegedAction<Void>() { ! public Void run() { ! System.loadLibrary("awt"); ! return null; } + }); + } }