--- old/src/java.desktop/share/classes/java/awt/image/BufferedImage.java 2020-07-27 21:19:00.000000000 -0700 +++ new/src/java.desktop/share/classes/java/awt/image/BufferedImage.java 2020-07-27 21:19:00.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -1367,7 +1367,7 @@ * @return the x offset of the tile grid. */ public int getTileGridXOffset() { - return raster.getSampleModelTranslateX(); + return raster.getMinX(); } /** @@ -1377,7 +1377,7 @@ * @return the y offset of the tile grid. */ public int getTileGridYOffset() { - return raster.getSampleModelTranslateY(); + return raster.getMinY(); } /**