[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: [OpenJDK 2D-Dev] RFR: 8130737: AffineTransformOp can't handle child raster with non-zero x-offse
From:       Sergey Bylokhov <sergey.bylokhov () oracle ! com>
Date:       2016-12-20 11:50:28
Message-ID: A74D7E7A-A9A5-4D9A-9DB5-5FEE9B67A8D7 () oracle ! com
[Download RAW message or body]

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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic