This method of the StandardSecurityManager Class determines whether classes within the current execution context, based on the call stack of the current thread, are allowed to create class loader objects.
public void checkCreateClassLoader();
The check succeeds only if the calling code is fully trusted. This method overrides the java.lang.SecurityManager.checkCreateClassLoader method.
SecurityException if the security check fails.