Integrated: 8341789: Fix ExceptionOccurred in java.base

Justin Lu jlu at openjdk.org
Thu Oct 10 17:36:19 UTC 2024


On Wed, 9 Oct 2024 17:28:09 GMT, Justin Lu <jlu at openjdk.org> wrote:

> Please review this PR which fixes incorrect usage of `jthrowable ExceptionOccurred(JNIEnv *env)` within _java.base_.
> 
> This corrects instances where the return value is being treated as a boolean. Such occurrences are replaced with `jboolean ExceptionCheck(JNIEnv *env)`.

This pull request has now been integrated.

Changeset: 7eb55357
Author:    Justin Lu <jlu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7eb55357ab169c21dd5d0ed1738155e794e5faaf
Stats:     34 lines in 10 files changed: 0 ins; 0 del; 34 mod

8341789: Fix ExceptionOccurred in java.base

Reviewed-by: bpb, jpai, dfuchs, lancea, rriggs, naoto

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

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


More information about the nio-dev mailing list