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

Serialized form has broken links to non private inner classes of package private

XMLWordPrintable

    • b08
    • Verified

      When generating the serialized-form.html page, Javadoc mistakenly creates
      broken links to non private inner classes of package-private classes.
      The links to package private classes themselves are not generated which is
      correct but if the package private class contains any inner class that is not
      private, Javadoc will create links to them on the serialized-form.html page
      which will obviously be broken.

      Either not include the inner classes of package private classes on the
      serialized-form.html or they should not have links (just plain text).
      As an example, when generating Javadoc for the following class for the ESDK
      API of JDeveloper, link to SplitButton.FilterActionEvents gets generated on the serialized-form.html page.

      ==================================================
      package oracle.javatools.ui.table;
      .
      ...
      .
      class SplitButton extends JToggleButton {
      .
      ...
      .
      private static class FilterActionEvents
      implements ActionListener, Serializable {
      .
      ...
      .
      }
      .
      ...
      .
      } .

            bpatel Bhavesh Patel (Inactive)
            asaha Abhijit Saha
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: