Which MDR version is this?
Since this looks OK in MDR trunk:
| else if (signature instanceof MethodSignature)
| {
| MethodSignature methodSignature = (MethodSignature) signature;
| Method method = methodSignature.getMethod();
| if (method == null)
| method = ReflectionUtils.findMethod(clazz, signature.getName(),
signature.getParametersTypes(clazz));
|
Where RU.findMethod is
| public static Method findMethod(Class<?> clazz, String name,
Class<?>... parameterTypes)
| {
| if (clazz == null)
| return null;
|
| try
| {
| return clazz.getDeclaredMethod(name, parameterTypes);
| }
| catch(Exception ignored)
| {
| }
| return findMethod(clazz.getSuperclass(), name, parameterTypes);
| }
|
Looking up declared methods, means it includes private as well. ;-)
"wolfc" wrote :
| Dare I say, I consider this a bug.
|
I see you're the same as vickyk:
-
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168997#...
;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169519#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...