Add an exception check after a JNI static method call, and re-enable checks for CallStatic in JNICheck.sh test.
I verified that the JNICheck test is passing on all headless and headful platforms I had access to (Windows, Linux and Mac). Other tier1-3 tests also continue to pass. ------------- Commit messages: - Fix JNICheck issue Changes: https://git.openjdk.org/jdk/pull/25754/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25754&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8131136 Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/25754.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/25754/head:pull/25754 PR: https://git.openjdk.org/jdk/pull/25754