[OpenJDK 2D-Dev] RFR: 8130737: AffineTransformOp can't handle child raster with non-zero x-offset

Sergey Bylokhov sergey.bylokhov at oracle.com
Tue Dec 20 11:50:28 UTC 2016

Looks fine.

> Bug: https://bugs.openjdk.java.net/browse/JDK-8130737
> Webrev : http://cr.openjdk.java.net/~prr/8130737/
> If a child raster is created with a non-zero x-offset then subsequently
> in the code that validates the raster for  imaging operations we may
> incorrectly calculate that  the image exceeds the data buffer.
> This resolves that and a test has been provided that exercises
> each of the code paths with  the buggy logic.
> This also reorders the arguments to a macro to use width and height consistently,
> and use signed values instead of unsigned in the macros.
> -phil.

More information about the 2d-dev mailing list