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

JDK javadoc uses wrong URL in external web browser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 12.2
    • ?
    • java - Javadoc
    • None
    • NetBeans 12.2 on JDK 11 running under Debian Linux.

    • Important

    Description

      Steps to reproduce:

      0) Hit ctrl-space on e.g. System.out.println(). Popup Javadoc appears correctly.

      1) Click "Show documentation in external web browser" button (second from right in popup toolbar).

      2) Browser will report a 404 because the URL is

      https://docs.oracle.com/en/java/javase/11/docs/api/java/io/PrintStream.html

      instead of

      https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/PrintStream.html

      This appears to happen with all base classes, e.g.

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

      instead of
      https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html

       

      Attachments

        1. image-2021-01-21-13-00-00-792.png
          61 kB
          Dragan Bjedov

        Issue Links

          Activity

            People

              jherkel Jakub Herkel
              gholmer Glenn Holmer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: