JDK-8278856 : javac documentation does not mention use of Manifest class-path attribute
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2021-12-15
  • Updated: 2023-11-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 23
23Unresolved
Related Reports
Relates :  
Description
The javac documentation section entitled "Searching for Module, Package and Type Declarations" fails to mention how javac dynamically extends the class search path by interpreting class-path manifest attributes in JARs that it examines. This behavior can be surprising [1], so it needs to be documented.

[1] https://dzone.com/articles/jar-manifest-class-path-is-not-for-java-applicatio

Comments
A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/13332 Date: 2023-04-04 17:45:12 +0000
04-04-2023