< prev index next >

src/jdk.management.agent/windows/classes/jdk/internal/agent/FileSystemImpl.java

Print this page




  42         if (!isSecuritySupported0(path)) {
  43             throw new UnsupportedOperationException("File system does not support file security");
  44         }
  45         return isAccessUserOnly0(path);
  46     }
  47 
  48     // Native methods
  49 
  50     static native void init0();
  51 
  52     static native boolean isSecuritySupported0(String path) throws IOException;
  53 
  54     static native boolean isAccessUserOnly0(String path) throws IOException;
  55 
  56     // Initialization
  57 
  58     static {
  59         java.security.AccessController.doPrivileged(
  60             new java.security.PrivilegedAction<Void>() {
  61                 public Void run() {
  62                     System.loadLibrary("management_rmi");
  63                     return null;
  64                 }
  65             });
  66         init0();
  67     }
  68 }


  42         if (!isSecuritySupported0(path)) {
  43             throw new UnsupportedOperationException("File system does not support file security");
  44         }
  45         return isAccessUserOnly0(path);
  46     }
  47 
  48     // Native methods
  49 
  50     static native void init0();
  51 
  52     static native boolean isSecuritySupported0(String path) throws IOException;
  53 
  54     static native boolean isAccessUserOnly0(String path) throws IOException;
  55 
  56     // Initialization
  57 
  58     static {
  59         java.security.AccessController.doPrivileged(
  60             new java.security.PrivilegedAction<Void>() {
  61                 public Void run() {
  62                     System.loadLibrary("management_agent");
  63                     return null;
  64                 }
  65             });
  66         init0();
  67     }
  68 }
< prev index next >