|
133 | 133 | * It is the virtual machine's built-in class loader, typically represented
|
134 | 134 | * as {@code null}, and does not have a parent.</li>
|
135 | 135 | * <li><p>{@linkplain #getPlatformClassLoader() Platform class loader}.
|
136 |
| - * All <em>platform classes</em> are visible to the platform class loader |
137 |
| - * that can be used as the parent of a {@code ClassLoader} instance. |
138 |
| - * Platform classes include Java SE platform APIs, their implementation |
139 |
| - * classes and JDK-specific run-time classes that are defined by the |
140 |
| - * platform class loader or its ancestors. |
| 136 | + * The platform class loader is responsible for loading the |
| 137 | + * <em>platform classes</em>. Platform classes include Java SE platform APIs, |
| 138 | + * their implementation classes and JDK-specific run-time classes that are |
| 139 | + * defined by the platform class loader or its ancestors. |
| 140 | + * The platform class loader can be used as the parent of a {@code ClassLoader} |
| 141 | + * instance. |
141 | 142 | * <p> To allow for upgrading/overriding of modules defined to the platform
|
142 | 143 | * class loader, and where upgraded modules read modules defined to class
|
143 | 144 | * loaders other than the platform class loader and its ancestors, then
|
|
151 | 152 | * from the platform class loader.
|
152 | 153 | * The system class loader is typically used to define classes on the
|
153 | 154 | * application class path, module path, and JDK-specific tools.
|
154 |
| - * The platform class loader is a parent or an ancestor of the system class |
155 |
| - * loader that all platform classes are visible to it.</li> |
| 155 | + * The platform class loader is the parent or an ancestor of the system class |
| 156 | + * loader, so the system class loader can load platform classes by delegating |
| 157 | + * to its parent.</li> |
156 | 158 | * </ul>
|
157 | 159 | *
|
158 | 160 | * <p> Normally, the Java virtual machine loads classes from the local file
|
|
0 commit comments