Name: dgC58589 Date: 01/07/98
Both getMethod & getConstructor need _exact_ types for a match.
They should be able to return the right method (or constructor)
if I specify a derived type.
e.g.
If I used getMethod to look up add(Component) but my Component is a Label,
the routine returns NULL
Same w/getConstructor()
(Review ID: 22760)
======================================================================
- duplicates
-
JDK-4090333 New method for returning Method Object in the new Reflection API
-
- Closed
-