RFR: 8304718: GetIntArrayElements should not be passed JNI_FALSE [v3]
Sergey Bylokhov
serb at openjdk.org
Mon Mar 27 05:09:31 UTC 2023
On Thu, 23 Mar 2023 22:02:32 GMT, Julian Waters <jwaters at openjdk.org> wrote:
>> AWT passes JNI_FALSE to the JVM to avoid a copy, which is not correct since JNI has absolutely no control over whether a copy is made or not. The parameter in question is a pointer to a jboolean that the JVM sets to indicate whether it made a copy or not, which should be passed nullptr because we don't bother about the copy status of the jint
>
> Julian Waters has updated the pull request incrementally with one additional commit since the last revision:
>
> LWCToolkit.m
Marked as reviewed by serb (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/13140#pullrequestreview-1358332444
More information about the client-libs-dev
mailing list