src/solaris/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java

Print this page

        

@@ -426,9 +426,14 @@
         FileDescriptor newfd, InetSocketAddress[] isaa) throws IOException;
 
     static {
         Util.load();   // loads nio & net native libraries
         java.security.AccessController.doPrivileged(
-                new sun.security.action.LoadLibraryAction("sctp"));
+            new java.security.PrivilegedAction<Void>() {
+                public Void run() {
+                    System.loadLibrary("sctp");
+                    return null;
+                }
+            });
         initIDs();
     }
 }