Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3090

Missing module name in a URL when linking javadoc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 11.1
    • ?
    • java - Javadoc
    • None
    • NetBeans 11.1 macOS 10.14.6

    Description

      Using -link option with javadoc produces invalid URL.

      Steps to reproduce:

      1. Set -link https://docs.oracle.com/en/java/javase/11/docs/api/ in project>build>Documenting Additional Javadoc Options field

      2. Generate Javadoc for this project

      3. Click on any class reference pointing to externally linked documentation (for example java.lang.Object)

      Link appears to point to:

      https://docs.oracle.com/en/java/javase/11/docs/api/java/lang/Object.html?is-external=true

      instead of: 

      https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html

      The missing bit is java.base module part of the url

      This problem is not reproduced in NetBeans 10

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Strelnikov Vasily
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: