jojochuang commented on a change in pull request #3443:
URL: https://github.com/apache/hbase/pull/3443#discussion_r661268876



##########
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:
       looks like it issues a warning in JDK11 and throws exception in JDK12 
and above. I can update the subject 




-- 
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]


Reply via email to