src/share/classes/sun/net/sdp/SdpSupport.java

Print this page

        

@@ -74,8 +74,13 @@
 
     private static native void convert0(int fd) throws IOException;
 
     static {
         AccessController.doPrivileged(
-            new sun.security.action.LoadLibraryAction("net"));
+            new java.security.PrivilegedAction<Void>() {
+                public Void run() {
+                    System.loadLibrary("net");
+                    return null;
     }
+            });
+    }
 }