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

javadoc generates broken links on deprecated items page

XMLWordPrintable

    • b16
    • Verified

      In JDK-8157000, we added the ability to just list "simply-overridden" methods in the summary section, and not in the main details section.

      This can cause broken links in the deprecated page if the overriding method is deprecated, because we will not generate on the class page the target of the link on the deprecated page.

      As an example, see JComponent.hide() on the deprecated page in the JDK 11 docs. Also reported here by a link checker:

      api/deprecated-list.html:5686: id not found: api/java.desktop/javax/swing/JComponent.html#hide()

      Also looks like the cause of this broken link:

      api/deprecated-list.html:6153: id not found: api/jdk.scripting.nashorn/jdk/nashorn/api/scripting/ScriptObjectMirror.html#toNumber()

            pmuthuswamy Priya Lakshmi Muthuswamy (Inactive)
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: