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

method summary tables of inherited methods improperly list static interface methods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 10
    • 9
    • docs
    • None
    • b36

      At the bottom of the Method Summary section there is a series of tables that describe methods that are inherited from (or are declared in) superclasses in superinterfaces.

      The tables here that list methods from interfaces erroneously include static methods from those interfaces. This is incorrect, as static interface methods aren't inherited.

      See snapshot image for example. (This is from the javadoc build for JDK10-ea+33, the java.util.Properties class.) This shows several of() methods and the ofEntries() method being declared in Map, which isn't correct, since these are static interface methods.

            ksrini Kumar Srinivasan
            smarks Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: