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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 15
    • 11.0.2
    • tools

      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.

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

              Created:
              Updated:
              Resolved: