< prev index next >

src/java.base/share/classes/java/security/SecureClassLoader.java

Print this page

        

*** 123,132 **** --- 123,133 ---- * @throws SecurityException if a security manager exists and its * {@link SecurityManager#checkCreateClassLoader()} method * doesn't allow creation of a class loader. * * @since 9 + * @spec JPMS */ protected SecureClassLoader(String name, ClassLoader parent) { super(name, parent); SecurityManager security = System.getSecurityManager(); if (security != null) {
< prev index next >