mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8221267: Document the jdk.net.URLClassPath.showIgnoredClassPathEntries system property
Reviewed-by: alanb, bpb, lancea
This commit is contained in:
parent
e9c523ae5f
commit
aeaa78cb26
1 changed files with 10 additions and 0 deletions
|
@ -1893,6 +1893,16 @@ public abstract class ClassLoader {
|
||||||
* otherwise, if unnamed, it will set the class path to the current
|
* otherwise, if unnamed, it will set the class path to the current
|
||||||
* working directory.
|
* working directory.
|
||||||
*
|
*
|
||||||
|
* <p> JAR files on the class path may contain a {@code Class-Path} manifest
|
||||||
|
* attribute to specify dependent JAR files to be included in the class path.
|
||||||
|
* {@code Class-Path} entries must meet certain conditions for validity (see
|
||||||
|
* the <a href="{@docRoot}/../specs/jar/jar.html#class-path-attribute">
|
||||||
|
* JAR File Specification</a> for details). Invalid {@code Class-Path}
|
||||||
|
* entries are ignored. For debugging purposes, ignored entries can be
|
||||||
|
* printed to the console if the
|
||||||
|
* {@systemProperty jdk.net.URLClassPath.showIgnoredClassPathEntries} system
|
||||||
|
* property is set to {@code true}.
|
||||||
|
*
|
||||||
* @return The system {@code ClassLoader}
|
* @return The system {@code ClassLoader}
|
||||||
*
|
*
|
||||||
* @throws SecurityException
|
* @throws SecurityException
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue