From d184d02e1008cba1850f7640cf0fd6b4ce4e77fe Mon Sep 17 00:00:00 2001 From: rriggs Date: Tue, 12 Jun 2018 13:07:47 -0400 Subject: [PATCH] 8197930: JNI exception pending in initializeEncoding of jni_util.c Reviewed-by: mchung, stuefe --- src/share/native/common/jni_util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/share/native/common/jni_util.c b/src/share/native/common/jni_util.c index 07a9abc61..891b78049 100644 --- a/src/share/native/common/jni_util.c +++ b/src/share/native/common/jni_util.c @@ -749,6 +749,7 @@ initializeEncoding(JNIEnv *env) CHECK_NULL(String_getBytes_ID); String_init_ID = (*env)->GetMethodID(env, strClazz, "", "([BLjava/lang/String;)V"); + CHECK_NULL(String_init_ID); } static jboolean isJNUEncodingSupported = JNI_FALSE; -- GitLab