src/share/classes/sun/tracing/dtrace/JVM.java

Print this page

        

@@ -34,12 +34,17 @@
  */
 class JVM {
 
     static {
       java.security.AccessController.doPrivileged(
-              new sun.security.action.LoadLibraryAction("jsdt"));
+            new java.security.PrivilegedAction<Void>() {
+                public Void run() {
+                    System.loadLibrary("jsdt");
+                    return null;
     }
+            });
+    }
 
     static long activate(String moduleName, DTraceProvider[] providers) {
         return activate0(moduleName, providers);
     }