[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: Integrated: 8304718: GetIntArrayElements should not be passed JNI_FALSE
From: Julian Waters <jwaters () openjdk ! org>
Date: 2023-03-27 15:16:01
Message-ID: dmqt0N-88nUFGTiNzAt6jpyJ9CYcYUVyMrK4Q2oRziU=.efdf7640-edaa-40ae-bb9a-d00d1c02b016 () github ! com
[Download RAW message or body]
On Wed, 22 Mar 2023 14:20:54 GMT, Julian Waters <jwaters@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
This pull request has now been integrated.
Changeset: 6b2f34f8
Author: Julian Waters <jwaters@openjdk.org>
URL: https://git.openjdk.org/jdk/commit/6b2f34f88a39031d17b858ffcf631b2fd101c2eb
Stats: 3 lines in 3 files changed: 0 ins; 0 del; 3 mod
8304718: GetIntArrayElements should not be passed JNI_FALSE
Reviewed-by: serb
-------------
PR: https://git.openjdk.org/jdk/pull/13140
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic