src/share/classes/com/sun/java/util/jar/pack/NativeUnpack.java

Print this page

        

@@ -85,11 +85,16 @@
 
     static {
         // If loading from stand alone build uncomment this.
         // System.loadLibrary("unpack");
         java.security.AccessController.doPrivileged(
-                new sun.security.action.LoadLibraryAction("unpack"));
+            new java.security.PrivilegedAction<Void>() {
+                public Void run() {
+                    System.loadLibrary("unpack");
+                    return null;
+                }
+            });
         initIDs();
     }
 
     NativeUnpack(UnpackerImpl p200) {
         super();