src/share/classes/sun/misc/VM.java

Print this page

        

*** 216,225 **** --- 216,233 ---- public static boolean allowArraySyntax() { return allowArraySyntax; } /** + * Returns true if the given class loader is in the system domain + * in which all permissions are granted. + */ + public static boolean isSystemDomainLoader(ClassLoader loader) { + return loader == null; + } + + /** * Returns the system property of the specified key saved at * system initialization time. This method should only be used * for the system properties that are not changed during runtime. * It accesses a private copy of the system properties so * that user's locking of the system properties object will not