RFR: 8274939: Incorrect size of the pixel storage is used by the robot on macOS

Sergey Bylokhov serb at openjdk.java.net
Fri Jan 28 01:17:13 UTC 2022


On Fri, 28 Jan 2022 00:45:46 GMT, Phil Race <prr at openjdk.org> wrote:

>     * I still see a need for a safety check in native code

I can add some check but which one? In the native we should use the bounds we passed from java side, the problem is that we pass "1 * scale" = 'scale", but allocate the array as "new int[1]" so this is an issue on that java side in the changed method.

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

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



More information about the client-libs-dev mailing list