Apache9 commented on a change in pull request #3443:
URL: https://github.com/apache/hbase/pull/3443#discussion_r661260482
##########
File path:
hbase-common/src/main/java/org/apache/hadoop/hbase/util/ReflectionUtils.java
##########
@@ -228,4 +229,38 @@ public static Object invokeMethod(Object obj, String
methodName, Object... param
return parameterTypes;
}
+ public static Field getModifiersField() throws IllegalAccessException,
NoSuchFieldException {
+ // this is copied from
https://github.com/powermock/powermock/pull/1010/files to work around
+ // JDK 12+
Review comment:
This is for jdk17 or jdk11? The title of the PR says this is jdk11 but
the comment here is for jdk12+...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]