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

Javadoc tool doesn't respect module descriptor in Multi-Release folder

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 11.0.2
    • Fix Version/s: 15
    • Component/s: tools
    • Environment:

      Description

      When creating a Multi-Release jar, it is allowed to have a module descriptor in the versioned-folder and not in the root of the jar.

      e.g.
      some/Util.class
      META-INF/versions/11/module-info.class
      META-INF/versions/11/some/Util.class

      When trying to generate javadoc for such jar, it'll exit with the message: error: module not found: <some.modulename>

      Moving the module descriptor to the root will make it succeed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jjg Jonathan Gibbons
                Reporter:
                rfscholte Robert Scholte
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: