Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8278856

javac documentation does not mention use of Manifest class-path attribute

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • None
    • tools
    • In Review
    • 5.0

      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

            cstein Christian Stein
            alans Alan Snyder
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: