Details
-
Documentation Required:No
Attachments
Activity
| Field | Original Value | New Value |
|---|---|---|
| Attachment | GenericReflectionTest.java [ 10242 ] |
| Assignee | David Marginian [ davidmarginian ] | Team [ team ] |
| Fix Version/s | 4.0 [ 10024 ] | |
| Fix Version/s | 3.0 [ 10025 ] |
For generic methods (methods with at least one generic parameter or a generic return type). The java.lang.reflect API will return 2 method objects for Class.getMethods(). My gut feeling is that DWR is choosing the method without the type information associated with it. It should instead choose the method where:
java.lang.reflect.Modifier.isVolatile(method.getModifiers()) == false