mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-03 12:40:10 +00:00
8371749: New test serviceability/jvmti/events/VMDeath/AllocatingInVMDeath/TestAllocatingInVMDeath.java fails with -Xcheck:jni
Reviewed-by: sspitsyn, amenkov, cjplummer
This commit is contained in:
parent
6322aaba63
commit
155d7df555
@ -37,6 +37,10 @@ cbVMDeath(jvmtiEnv* jvmti, JNIEnv* jni) {
|
||||
fatal(jni, "Can't find upCall method.");
|
||||
}
|
||||
jni->CallStaticObjectMethod(clz, mid);
|
||||
if (jni->ExceptionOccurred()) {
|
||||
jni->ExceptionDescribe();
|
||||
fatal(jni, "cbVMDeath: unexpected exception occurred in Java upcall method.");
|
||||
}
|
||||
}
|
||||
|
||||
JNIEXPORT jint JNICALL
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user