-
Enhancement
-
Resolution: Fixed
-
P4
-
17
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.
- 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
-
-
JDK-8144122 Class.getDeclaredMethods() return value includes shadowed methods
-
- Closed
-
(1 links to)