8203911: Test runtime/modules/getModuleJNI/GetModule fails with -Xcheck:jni
Summary: Remove unneeded validate_class() check from checked_jni_GetModule().
Reviewed-by: dholmes, coleenp
--- a/src/hotspot/share/prims/jniCheck.cpp Fri Jul 06 09:00:48 2018 -0400
+++ b/src/hotspot/share/prims/jniCheck.cpp Fri Jul 06 06:26:25 2018 -0700
@@ -1995,9 +1995,6 @@
checked_jni_GetModule(JNIEnv *env,
jclass clazz))
functionEnter(thr);
- IN_VM(
- jniCheck::validate_class(thr, clazz, false);
- )
jobject result = UNCHECKED()->GetModule(env,clazz);
functionExit(thr);
return result;