mirror of https://github.com/apache/openjpa.git
OPENJPA-1686: Support when a parameterized type has parameterized type arguments
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954667 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
69b8e4a1fd
commit
2d21d726ab
|
@ -222,7 +222,9 @@ public class JavaVersions {
|
|||
}
|
||||
|
||||
static Object invokeGetter(Object target, String method) throws Exception {
|
||||
return target.getClass().getMethod(method, NO_CLASS_ARGS).invoke(target, NO_ARGS);
|
||||
return AccessController.doPrivileged(
|
||||
J2DoPrivHelper.getDeclaredMethodAction(target.getClass(), method, NO_CLASS_ARGS))
|
||||
.invoke(target, NO_ARGS);
|
||||
}
|
||||
|
||||
static boolean isParameterizedType(Object cls) {
|
||||
|
|
Loading…
Reference in New Issue