src/solaris/classes/sun/nio/fs/BsdNativeDispatcher.java

Print this page

        

*** 31,41 **** /** * Bsd specific system calls. */ class BsdNativeDispatcher extends UnixNativeDispatcher { ! private BsdNativeDispatcher() { } /** * struct fsstat_iter *getfsstat(); */ static native long getfsstat() throws UnixException; --- 31,41 ---- /** * Bsd specific system calls. */ class BsdNativeDispatcher extends UnixNativeDispatcher { ! protected BsdNativeDispatcher() { } /** * struct fsstat_iter *getfsstat(); */ static native long getfsstat() throws UnixException;
*** 53,65 **** // initialize field IDs private static native void initIDs(); static { - AccessController.doPrivileged(new PrivilegedAction<Void>() { - public Void run() { - System.loadLibrary("nio"); - return null; - }}); initIDs(); } } --- 53,60 ----