On Tue, 26 Oct 2021 16:24:35 GMT, Jayathirth D V <j...@openjdk.org> wrote:

> This is follow up change after : 
> https://bugs.openjdk.java.net/browse/JDK-8255724
> 
> Now color tolerance is only added for Linux(XRender is default pipeline in 
> Linux and Solaris is not supported anymore). So I am using 
> jdk.test.lib.Platform to determine which OS we are running on. CI run on all 
> platforms is green.

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 on Linux even if the X11 or OGL pipeline is used. So 
probably some check of the graphics config class name(XRGraphicsConfig?) will 
work?

-------------

PR: https://git.openjdk.java.net/jdk/pull/6119

Reply via email to