RFR: 8341791: Fix ExceptionOccurred in java.prefs
Naoto Sato
naoto at openjdk.org
Thu Oct 10 16:16:15 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)`.
Marked as reviewed by naoto (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/21427#pullrequestreview-2360842161
More information about the core-libs-dev
mailing list