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: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 11.0.2
    • Fix Version/s: 14
    • 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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rfscholte Robert Scholte
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: