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

Update Class.getDeclaredMethods to discuss synthetic and bridge methods

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 17
    • 17
    • core-libs

    Description

      The results from Class.getDeclaredMethods can include bridge and other synthetic methods, which can be unexpected by users. The javadoc for Class.getDeclaredMethods should be updated to explicitly mention this possibility.

      Attachments

        Issue Links

          Activity

            People

              darcy Joe Darcy
              darcy Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: