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

Matthias Baesken mbaesken at openjdk.org
Mon Oct 30 09:15:02 UTC 2023


On Mon, 30 Oct 2023 08:52:04 GMT, Ralf Schmelter <rschmelter at openjdk.org> wrote:

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

Makes probably sense, at other  places in the same file it is done this way. I added a JNU_ThrowOutOfMemoryError .

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

PR Comment: https://git.openjdk.org/jdk/pull/16392#issuecomment-1784771066


More information about the client-libs-dev mailing list