src/windows/classes/sun/awt/windows/WToolkit.java

Print this page

        

*** 92,102 **** private static native void initIDs(); private static boolean loaded = false; public static void loadLibraries() { if (!loaded) { java.security.AccessController.doPrivileged( ! new sun.security.action.LoadLibraryAction("awt")); loaded = true; } } private static native String getWindowsVersion(); --- 92,107 ---- private static native void initIDs(); private static boolean loaded = false; public static void loadLibraries() { if (!loaded) { java.security.AccessController.doPrivileged( ! new java.security.PrivilegedAction<Void>() { ! public Void run() { ! System.loadLibrary("awt"); ! return null; ! } ! }); loaded = true; } } private static native String getWindowsVersion();