On Thu, 11 May 2023 21:29:51 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> wrote:
> This patch fixes the JNI test for the enable native access flag, which was > updated incorrectly as part of https://git.openjdk.org/jdk/pull/13863. > > The problem is that the test doesn't make global references out of the local > ones before sharing them with another thread. > > I could reproduce the failure locally with `-Xcheck:jni`. With this patch, > the test passes. Marked as reviewed by jvernee (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/13944#pullrequestreview-1423593045