Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-561

Not possible to link to JDK classes since Java 11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 3.1.0
    • None
    • jar
    • None

    Description

      1. Open testcase
      2. mvn javadoc:jar
      3. Notice that generated Javadoc contains broken link to java.lang.Number

      It doesn't look like one can link to the JDK as of version 11 because the URL structure changed since Java 10.

      Java 10: https://docs.oracle.com/javase/10/docs/api/java/lang/Number.html
      Java 11: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Number.html

      Please see https://bugs.openjdk.java.net/browse/JDK-8191363 for a related discussion. If any syntax change is required in the pom, please consider updating https://maven.apache.org/plugins/maven-javadoc-plugin/examples/links-configuration.html accordingly.

      Attachments

        1. testcase.zip
          2 kB
          Gili

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              cowwoc Gili
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: