Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8247785: Small clarification of the javadoc about builtin class loaders
Reviewed-by: alanb, rriggs, dholmes
  • Loading branch information
Mandy Chung committed Jun 24, 2020
1 parent d85ff3c commit 4b3c33bac12d8bec47f5a311b6e99bc0b228989d
Showing 1 changed file with 9 additions and 7 deletions.
@@ -133,11 +133,12 @@
* It is the virtual machine's built-in class loader, typically represented
* as {@code null}, and does not have a parent.</li>
* <li><p>{@linkplain #getPlatformClassLoader() Platform class loader}.
* All <em>platform classes</em> are visible to the platform class loader
* that can be used as the parent of a {@code ClassLoader} instance.
* Platform classes include Java SE platform APIs, their implementation
* classes and JDK-specific run-time classes that are defined by the
* platform class loader or its ancestors.
* The platform class loader is responsible for loading the
* <em>platform classes</em>. Platform classes include Java SE platform APIs,
* their implementation classes and JDK-specific run-time classes that are
* defined by the 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
* class loader, and where upgraded modules read modules defined to class
* loaders other than the platform class loader and its ancestors, then
@@ -151,8 +152,9 @@
* from the platform class loader.
* The system class loader is typically used to define classes on the
* application class path, module path, and JDK-specific tools.
* The platform class loader is a parent or an ancestor of the system class
* loader that all platform classes are visible to it.</li>
* The platform class loader is the parent or an ancestor of the system class
* loader, so the system class loader can load platform classes by delegating
* to its parent.</li>
* </ul>
*
* <p> Normally, the Java virtual machine loads classes from the local file

0 comments on commit 4b3c33b

Please sign in to comment.