SecureClassLoader (Java SE 9 & JDK 9 )
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSecureClassLoader()Creates a new SecureClassLoader using the default parent class loader for delegation.
protectedSecureClassLoader(ClassLoader parent)Creates a new SecureClassLoader using the specified parent class loader for delegation.
protectedSecureClassLoader(String name, ClassLoader parent)Creates a new
SecureClassLoaderof the specified name and using the specified parent class loader for delegation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Class<?>defineClass(String name, byte[] b, int off, int len, CodeSource cs)Converts an array of bytes into an instance of class Class, with an optional CodeSource.
protected Class<?>defineClass(String name, ByteBuffer b, CodeSource cs)Converts a
ByteBufferinto an instance of classClass, with an optional CodeSource.protected PermissionCollectiongetPermissions(CodeSource codesource)Returns the permissions for the given CodeSource object.
-
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
-