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

javadoc does not handle Locations correctly with --patch-module

XMLWordPrintable

    • b162
    • generic
    • generic
    • Verified

        Supposing one has the following command:
        % javadoc --patch-module=java.base=/some/directory/src/share/classes -d out.dir java.lang.invoke
        the location is not computed correctly
        The reason is because:
        http://hg.openjdk.java.net/jdk9/dev/langtools/file/414788bbc0ab/src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/ElementsTable.java#l205
        The location will be set to CLASS_PATH and no sources will be found to document.

        javac must be able to handle the --patch-module and return an appropriate location.

              ksrini Kumar Srinivasan
              ksrini Kumar Srinivasan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: