On Tue, 27 Jan 2026 19:04:04 GMT, Phil Race <[email protected]> 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. This pull request has now been integrated. Changeset: 69c868d5 Author: Phil Race <[email protected]> URL: https://git.openjdk.org/jdk/commit/69c868d5b7fdeaf38d6a45b75d68bf51b6ee7188 Stats: 7 lines in 2 files changed: 3 ins; 0 del; 4 mod 8376510: Raster.createBandedRaster(int, int, int, int, int[], int[], Point) does not check for negative scanlineStride Reviewed-by: serb, azvegint ------------- PR: https://git.openjdk.org/jdk/pull/29454
