Skip to content

Commit 428b553

Browse files
committed
8278856: javac documentation does not mention use of Manifest class-path attribute
Reviewed-by: jlahoda
1 parent 4233178 commit 428b553

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/jdk.compiler/share/man/javac.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,6 +1311,12 @@ although some module-related path options allow a package hierarchy to be
13111311
specified on a per-module basis. All other path options are used to specify
13121312
package hierarchies.
13131313

1314+
When a JAR file in the user class path has a `Class-Path` manifest attribute,
1315+
and the specified JAR file(s) exist, they are automatically inserted into the
1316+
user class path after the JAR file. This rule also applies recursively to any
1317+
new JAR files found. Consult the [JAR File Specification](../jar/jar.html#class-path-attribute)
1318+
for details.
1319+
13141320
### Package Hierarchy
13151321

13161322
In a package hierarchy, directories and subdirectories are used

0 commit comments

Comments
 (0)