Please review following fix that adds jni exception check after calling java code.
Tested by running test with and without -Xcheck:jni. ------------- Commit messages: - 8371749: New test serviceability/jvmti/events/VMDeath/AllocatingInVMDeath/TestAllocatingInVMDeath.java fails with -Xcheck:jni Changes: https://git.openjdk.org/jdk/pull/28280/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28280&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8371749 Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/28280.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/28280/head:pull/28280 PR: https://git.openjdk.org/jdk/pull/28280
