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

Hide unexported base classes when generating Javadoc

XMLWordPrintable

      Consider the following two classes.

      package jdk.jfr.internal;
      public class Control {
      }

      package jdk.jfr;
      public class SettingControl extends Control {
      }

      Control is an internal class in a package that is not exported and SettingControl is an exported class in a public API. Today the generated Javadoc for the SettingControl class contains the following class hierarchy.

           java.lang.Object
              jdk.jfr.internal.Control
                  jdk.jfr.SettingControl

      It would be good if jdk.jfr.internal.Control was hidden, as it would be if jdk.jfr.internal.Control was a package private class in jdk.jfr.

            ksrini Kumar Srinivasan
            egahlin Erik Gahlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: