RFR: JDK-8318955: Add ReleaseIntArrayElements in Java_sun_awt_X11_XlibWrapper_SetBitmapShape XlbWrapper.c to early return

Ralf Schmelter rschmelter at openjdk.org
Mon Oct 30 08:54:32 UTC 2023


On Fri, 27 Oct 2023 07:48:58 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> There is an early return in Java_sun_awt_X11_XlibWrapper_SetBitmapShape XlbWrapper.c that seems to miss a ReleaseIntArrayElements call.

Maybe we should throw an OutOfMemoryError in addition, since otherwise the call looks like it has performed the operation.

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

PR Review: https://git.openjdk.org/jdk/pull/16392#pullrequestreview-1703570726


More information about the client-libs-dev mailing list