Looks good Matthias. While looking at the code I saw that we escape two critical arrays via BufImg_GetRasInfo().
I guess its okay if all caller code to GetRasInfo() in the JDK are properly closed with the associated release function; still it made me a bit apprehensive. Cheers, Thomas On Mon, Sep 9, 2019 at 4:52 PM Baesken, Matthias <matthias.baes...@sap.com> wrote: > Hello, please review the following webrev . > > > > I noticed that in function BufImg_SetupICM, in case of initCubemap > returning NULL we currently miss a ReleasePrimitiveArrayCritical call; > this should be added. > > > > Bug/webrev : > > > > https://bugs.openjdk.java.net/browse/JDK-8230769 > > > > http://cr.openjdk.java.net/~mbaesken/webrevs/8230769.0/ > > > > > > Thanks, Matthias >