RFR: 8341798: Fix ExceptionOccurred in jdk.jdwp.agent

Chris Plummer cjplummer at openjdk.org
Fri Nov 1 02:36:33 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.

Marked as reviewed by cjplummer (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/21814#pullrequestreview-2409376344


More information about the serviceability-dev mailing list