8247785: Small clarification of the javadoc about builtin class loaders
Reviewed-by: alanb, rriggs, dholmes
This commit is contained in:
parent
d85ff3c7f0
commit
4b3c33bac1
@ -133,11 +133,12 @@ import sun.security.util.SecurityConstants;
|
|||||||
* It is the virtual machine's built-in class loader, typically represented
|
* It is the virtual machine's built-in class loader, typically represented
|
||||||
* as {@code null}, and does not have a parent.</li>
|
* as {@code null}, and does not have a parent.</li>
|
||||||
* <li><p>{@linkplain #getPlatformClassLoader() Platform class loader}.
|
* <li><p>{@linkplain #getPlatformClassLoader() Platform class loader}.
|
||||||
* All <em>platform classes</em> are visible to the platform class loader
|
* The platform class loader is responsible for loading the
|
||||||
* that can be used as the parent of a {@code ClassLoader} instance.
|
* <em>platform classes</em>. Platform classes include Java SE platform APIs,
|
||||||
* Platform classes include Java SE platform APIs, their implementation
|
* their implementation classes and JDK-specific run-time classes that are
|
||||||
* classes and JDK-specific run-time classes that are defined by the
|
* defined by the platform class loader or its ancestors.
|
||||||
* platform class loader or its ancestors.
|
* The platform class loader can be used as the parent of a {@code ClassLoader}
|
||||||
|
* instance.
|
||||||
* <p> To allow for upgrading/overriding of modules defined to the platform
|
* <p> To allow for upgrading/overriding of modules defined to the platform
|
||||||
* class loader, and where upgraded modules read modules defined to class
|
* class loader, and where upgraded modules read modules defined to class
|
||||||
* loaders other than the platform class loader and its ancestors, then
|
* loaders other than the platform class loader and its ancestors, then
|
||||||
@ -151,8 +152,9 @@ import sun.security.util.SecurityConstants;
|
|||||||
* from the platform class loader.
|
* from the platform class loader.
|
||||||
* The system class loader is typically used to define classes on the
|
* The system class loader is typically used to define classes on the
|
||||||
* application class path, module path, and JDK-specific tools.
|
* application class path, module path, and JDK-specific tools.
|
||||||
* The platform class loader is a parent or an ancestor of the system class
|
* The platform class loader is the parent or an ancestor of the system class
|
||||||
* loader that all platform classes are visible to it.</li>
|
* loader, so the system class loader can load platform classes by delegating
|
||||||
|
* to its parent.</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* <p> Normally, the Java virtual machine loads classes from the local file
|
* <p> Normally, the Java virtual machine loads classes from the local file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user