On Tue, 26 Oct 2021 19:13:42 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>> Jayathirth D V has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Use class name to verify Graphics configuration > > test/jdk/java/awt/image/DrawImage/BlitRotateClippedArea.java line 109: > >> 107: private static void validate(BufferedImage gold, BufferedImage img) >> 108: throws IOException { >> 109: if (!Platform.isLinux()) { > > I think it will pass even on Linux if the X11 or OGL pipeline is used. So > probably some check of the graphics config class name(XRGraphicsConfig?) will > work? I think in current supported platforms by default it should go XRender on linux unless we specify it to use other pipelines by -Dsun.java2d.XXX=true. But to be safe it is better to confirm with class name. I have update the code to use class name and verified that we are getting appropriate class names in all platforms. ------------- PR: https://git.openjdk.java.net/jdk/pull/6119