1891 * If named, the built-in system class loader will have no class path and |
1891 * If named, the built-in system class loader will have no class path and |
1892 * will search for classes and resources using the application module path; |
1892 * will search for classes and resources using the application module path; |
1893 * otherwise, if unnamed, it will set the class path to the current |
1893 * otherwise, if unnamed, it will set the class path to the current |
1894 * working directory. |
1894 * working directory. |
1895 * |
1895 * |
|
1896 * <p> JAR files on the class path may contain a {@code Class-Path} manifest |
|
1897 * attribute to specify dependent JAR files to be included in the class path. |
|
1898 * {@code Class-Path} entries must meet certain conditions for validity (see |
|
1899 * the <a href="{@docRoot}/../specs/jar/jar.html#class-path-attribute"> |
|
1900 * JAR File Specification</a> for details). Invalid {@code Class-Path} |
|
1901 * entries are ignored. For debugging purposes, ignored entries can be |
|
1902 * printed to the console if the |
|
1903 * {@systemProperty jdk.net.URLClassPath.showIgnoredClassPathEntries} system |
|
1904 * property is set to {@code true}. |
|
1905 * |
1896 * @return The system {@code ClassLoader} |
1906 * @return The system {@code ClassLoader} |
1897 * |
1907 * |
1898 * @throws SecurityException |
1908 * @throws SecurityException |
1899 * If a security manager is present, and the caller's class loader |
1909 * If a security manager is present, and the caller's class loader |
1900 * is not {@code null} and is not the same as or an ancestor of the |
1910 * is not {@code null} and is not the same as or an ancestor of the |