Please review this PR which fixes incorrect usage of `jthrowable ExceptionOccurred(JNIEnv *env)` within _java.base_.
This corrects instances where the return value is being treated as a boolean. Such occurrences are replaced with `jboolean ExceptionCheck(JNIEnv *env)`. ------------- Commit messages: - init Changes: https://git.openjdk.org/jdk/pull/21428/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21428&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8341789 Stats: 34 lines in 10 files changed: 0 ins; 0 del; 34 mod Patch: https://git.openjdk.org/jdk/pull/21428.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/21428/head:pull/21428 PR: https://git.openjdk.org/jdk/pull/21428