RFR: 8376510: Raster.createBandedRaster(int, int, int, int, int[], int[], Point) does not check for negative scanlineStride

Sergey Bylokhov serb at openjdk.org
Wed Jan 28 21:06:29 UTC 2026


On Tue, 27 Jan 2026 19:04:04 GMT, Phil Race <prr at openjdk.org> wrote:

> We specify that scanlineStride < 0 will throw IAE, but it was not checked up front in all cases, so sometimes would be IAE and sometimes NegativeArrayIndexException.
> Add an explicit check.

Marked as reviewed by serb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/29454#pullrequestreview-3719145145


More information about the client-libs-dev mailing list