Integrated: 8341796: Fix ExceptionOccurred in jdk.hotspot.agent
Justin Lu
jlu at openjdk.org
Mon Nov 4 20:57:37 UTC 2024
On Thu, 31 Oct 2024 19:54:20 GMT, Justin Lu <jlu at 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 <jlu at 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
More information about the serviceability-dev
mailing list