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

Class.getMethods() returns default methods that are not members of the class

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: docs

      Description

      The returned array from a call to Class.getMethods() may in some scenarios include default methods that are not members of the Class. Specifically default methods from superinterfaces that have a more specific method may be included.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jgordon Joni Gordon
                Reporter:
                jfranck Joel Borggrén-Franck
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: