Switch to `ExceptionCheck`.

This is a part of an umbrella bug [JDK-8341542 JNI uses of ExceptionOccurred() 
treated as if function returns a 
bool](https://bugs.openjdk.org/browse/JDK-8341542).

-------------

Commit messages:
 - the fix

Changes: https://git.openjdk.org/jdk/pull/21424/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21424&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8341792
  Stats: 5 lines in 2 files changed: 0 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/21424.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21424/head:pull/21424

PR: https://git.openjdk.org/jdk/pull/21424

Reply via email to