Modifier and Type | Class and Description |
---|---|
private static class | ClassLoaders.
The application class loader that is a |
private static class | ClassLoaders.
The class loader that is used to find resources in modules defined to the boot class loader. |
private static class | ClassLoaders.
The platform class loader, a unique type to make it easier to distinguish from the application class loader. |
Modifier and Type | Field and Description |
---|---|
private static final ClassLoaders. | |
private static final ClassLoaders. | |
private static final JavaLangAccess | |
private static final ClassLoaders. |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public static ClassLoader | |
pack-priv static BuiltinClassLoader | bootLoader()
Returns the class loader that is used to find resources in modules defined to the boot class loader. |
public static ClassLoader | |
private static void | |
private static URL |
APP_LOADER | back to summary |
---|---|
private static final ClassLoaders. |
BOOT_LOADER | back to summary |
---|---|
private static final ClassLoaders. |
JLA | back to summary |
---|---|
private static final JavaLangAccess JLA |
PLATFORM_LOADER | back to summary |
---|---|
private static final ClassLoaders. |
ClassLoaders | back to summary |
---|---|
private ClassLoaders() |
appClassLoader | back to summary |
---|---|
public static ClassLoader appClassLoader() Returns the application class loader. |
bootLoader | back to summary |
---|---|
pack-priv static BuiltinClassLoader bootLoader() Returns the class loader that is used to find resources in modules defined to the boot class loader. API Note This method is not public, it should instead be used via the BootLoader class that provides a restricted API to this class loader. |
platformClassLoader | back to summary |
---|---|
public static ClassLoader platformClassLoader() Returns the platform class loader. |
setArchivedServicesCatalog | back to summary |
---|---|
private static void setArchivedServicesCatalog(ClassLoader loader) |
toFileURL | back to summary |
---|---|
private static URL toFileURL(String s)
Deprecated
Attempts to convert the given string to a file URL. API Note This is called by the VM
|
BuiltinClassLoader
with
customizations to be compatible with long standing behavior.
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
pack-priv void | appendToClassPathForInstrumentation(String path)
Called by the VM to support dynamic additions to the class path |
protected Package | defineOrCheckPackage(String pn, Manifest man, URL url)
Overrides jdk. Called by the VM to support define package for AppCDS |
AppClassLoader | back to summary |
---|---|
pack-priv AppClassLoader(BuiltinClassLoader parent, URLClassPath ucp) |
appendToClassPathForInstrumentation | back to summary |
---|---|
pack-priv void appendToClassPathForInstrumentation(String path) Called by the VM to support dynamic additions to the class path |
defineOrCheckPackage | back to summary |
---|---|
protected Package defineOrCheckPackage(String pn, Manifest man, URL url) Overrides jdk. Called by the VM to support define package for AppCDS
|
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
protected Class | loadClassOrNull(String cn, boolean resolve)
Overrides jdk. A variation of |
BootClassLoader | back to summary |
---|---|
pack-priv BootClassLoader(URLClassPath bcp) |
loadClassOrNull | back to summary |
---|---|
protected Class Overrides jdk. Doc from jdk. A variation of
|
Access | Constructor and Description |
---|---|
pack-priv |
PlatformClassLoader | back to summary |
---|---|
pack-priv PlatformClassLoader(ClassLoaders. |