On Thu, 31 Oct 2024 19:54:20 GMT, Justin Lu <j...@openjdk.org> wrote:
> Please review this PR which is a JNI cleanup to replace incorrect usages of > `jthrowable ExceptionOccurred(JNIEnv *env)` with `jboolean > ExceptionCheck(JNIEnv *env)` in _jdk.hotspot.agent_. > > This is part of the bigger umbrella issue: > https://bugs.openjdk.org/browse/JDK-8341542. This change only modifies > instances where the exception object is not needed, and the method return > value is being treated as if it were a boolean. This pull request has now been integrated. Changeset: 825ceb16 Author: Justin Lu <j...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/825ceb16b2e2347a4d9c1977d9a3a2da1296d5fe Stats: 29 lines in 5 files changed: 0 ins; 0 del; 29 mod 8341796: Fix ExceptionOccurred in jdk.hotspot.agent Reviewed-by: dholmes, cjplummer ------------- PR: https://git.openjdk.org/jdk/pull/21813