changeset 50945:810cb95f19c9

8203911: Test runtime/modules/getModuleJNI/GetModule fails with -Xcheck:jni Summary: Remove unneeded validate_class() check from checked_jni_GetModule(). Reviewed-by: dholmes, coleenp
author hseigel
date Fri, 06 Jul 2018 06:26:25 -0700
parents 8cc36fac7f3d
children be2d74d91351
files src/hotspot/share/prims/jniCheck.cpp
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;