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

Print this page

        

@@ -92,11 +92,16 @@
     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"));
+                new java.security.PrivilegedAction<Void>() {
+                    public Void run() {
+                        System.loadLibrary("awt");
+                        return null;
+                    }
+                });
             loaded = true;
         }
     }
 
     private static native String getWindowsVersion();