Integrated: 8341791: Fix ExceptionOccurred in java.prefs

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


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

> Please review this PR which fixes incorrect usage of `jthrowable ExceptionOccurred(JNIEnv *env)` within _java.prefs_.
> 
> 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: a5cad0ee
Author:    Justin Lu <jlu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a5cad0ee1e86285b7d2561dfce37f2b22067c9e6
Stats:     9 lines in 1 file changed: 0 ins; 0 del; 9 mod

8341791: Fix ExceptionOccurred in java.prefs

Reviewed-by: bpb, jpai, naoto

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

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


More information about the core-libs-dev mailing list