On Wed, 4 Dec 2024 22:15:24 GMT, Chris Plummer <cjplum...@openjdk.org> wrote:
> What I'm not so sure of is which JNI functions check this flag (I know only > the "call" functions set it) In `invokeNonVirtual` we calls `CallNonvirtualObjectMethodA` JNI function and then call `saveGlobalRef`, it looks strange if the case don't cause the warning. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/22528#discussion_r1870389138