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

module-info on patch path should not produce an error

XMLWordPrintable

    • b162
    • Verified

        In a private email conversation, it was noted that putting all of the source of a module on the patch module path for javadoc was reported as an error. But in similar circumstances, the runtime only gives a warning.

        javac should generally behave the same as the runtime in this situation.

        javadoc output:

            error: module-info.class not allowed on patch path: /usr/**redacted**/jdk/src/jdk9/jdk/src/java.base/share/classes/module-info.java

              jlahoda Jan Lahoda
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: