[OpenJDK 2D-Dev] RFR: 8166038 BufferedImage methods getTileGridXOffset() and getTileGridYOffset() return a non 0 value for sub images

Martin Desruisseaux martin.desruisseaux at geomatys.com
Wed Jul 29 08:51:32 UTC 2020

Le 25/06/2020 à 17:48, Jayathirth D v a écrit :

> (…snip…)
> And I think we should conclude the thread with Phil’s question about 
> just returning 0 in these methods.
It could be a 2 steps process. As a first step the proposed 
implementation is consistent with other BufferedImage method 
implementations. As a second step, if we want to replace calls to 
raster.getMinX|Y() by hard-coded 0 value, should it be done consistently 
for the whole BufferedImage class? There is 4 occurrences, not counting 
this 8166038 proposed fix.


More information about the 2d-dev mailing list