src/share/classes/sun/java2d/Disposer.java

Print this page

        

*** 55,65 **** public static final int PHANTOM = 1; public static int refType = PHANTOM; static { java.security.AccessController.doPrivileged( ! new sun.security.action.LoadLibraryAction("awt")); initIDs(); String type = (String) java.security.AccessController.doPrivileged( new sun.security.action.GetPropertyAction("sun.java2d.reftype")); if (type != null) { if (type.equals("weak")) { --- 55,70 ---- public static final int PHANTOM = 1; public static int refType = PHANTOM; static { java.security.AccessController.doPrivileged( ! new java.security.PrivilegedAction<Void>() { ! public Void run() { ! System.loadLibrary("awt"); ! return null; ! } ! }); initIDs(); String type = (String) java.security.AccessController.doPrivileged( new sun.security.action.GetPropertyAction("sun.java2d.reftype")); if (type != null) { if (type.equals("weak")) {