src/share/classes/java/awt/image/ColorModel.java

Print this page

        

*** 202,212 **** */ private static boolean loaded = false; static void loadLibraries() { if (!loaded) { java.security.AccessController.doPrivileged( ! new sun.security.action.LoadLibraryAction("awt")); loaded = true; } } private static native void initIDs(); static { --- 202,217 ---- */ private static boolean loaded = false; static void loadLibraries() { if (!loaded) { java.security.AccessController.doPrivileged( ! new java.security.PrivilegedAction<Void>() { ! public Void run() { ! System.loadLibrary("awt"); ! return null; ! } ! }); loaded = true; } } private static native void initIDs(); static {