Integrated: 8341798: Fix ExceptionOccurred in jdk.jdwp.agent
Justin Lu
jlu at openjdk.org
Mon Nov 4 21:39:32 UTC 2024
On Thu, 31 Oct 2024 20:13:08 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.jdwp.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: 714472d8
Author: Justin Lu <jlu at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/714472d8a5b3d16b870bc272ce8664cd62733857
Stats: 28 lines in 7 files changed: 0 ins; 0 del; 28 mod
8341798: Fix ExceptionOccurred in jdk.jdwp.agent
Reviewed-by: dholmes, cjplummer
-------------
PR: https://git.openjdk.org/jdk/pull/21814
More information about the serviceability-dev
mailing list