Details
-
Enhancement
-
Status: Resolved
-
P4
-
Resolution: Fixed
-
17
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
- relates to
-
JDK-8142904 The "getDeclaredMethods" function returns a inherited method
-
- Closed
-
-
JDK-6815786 (reflect) Class.getDeclaredMethods() is returning inherited methods
-
- Closed
-
-
JDK-8142904 The "getDeclaredMethods" function returns a inherited method
-
- Closed
-