<Swing Dev> Integrated: 8257809: JNI warnings from Toolkit JPEG image decoding

Phil Race prr at openjdk.java.net
Mon Jan 4 21:11:58 UTC 2021


On Sun, 20 Dec 2020 01:37:47 GMT, Phil Race <prr at openjdk.org> wrote:

> The fix is to reverse the order of acquisition to get dst before src so that the call to GetArrayLength() comes first.
> This also necessitates moving the RELEASE_ARRAYS() call on an error condition to the new "2nd" block.
> 
> The new regression test passes on all platforms and all the other headless tests passed too.
> So do the automated headful tests.

This pull request has now been integrated.

Changeset: e6f99260
Author:    Phil Race <prr at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/e6f99260
Stats:     126 lines in 4 files changed: 116 ins; 10 del; 0 mod

8257809: JNI warnings from Toolkit JPEG image decoding

Reviewed-by: serb

-------------

PR: https://git.openjdk.java.net/jdk/pull/1850


More information about the swing-dev mailing list