Integrated: 8191406: [hidpi] sun/java2d/SunGraphics2D/DrawImageBilinear.java test fails

Jayathirth D V jdv at openjdk.org
Wed Nov 23 03:41:27 UTC 2022


On Thu, 17 Nov 2022 08:20:54 GMT, Jayathirth D V <jdv at openjdk.org> wrote:

> This test was failing because of timing or color difference issues.
> Updated test to:
> 
> 1) Use EDT for UI drawing instead of manual synchronisation
> 2) Use Robot.waitForIdle before screen capture
> 3) Increase color tolerance delta from 1 to 5
> 4) Use undecorated frame and explicitly set background color and move the frame to top
> 5) Cleanup to remove not needed flags and java options
> 
> After these changes test passes on all platforms in CI except Linux. For Linux it looks like product issue so i have raised : https://bugs.openjdk.org/browse/JDK-8297175

This pull request has now been integrated.

Changeset: b4bd287f
Author:    Jayathirth D V <jdv at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b4bd287f736b6b5dcfe1b183cae9b11eb6f22686
Stats:     107 lines in 2 files changed: 22 ins; 55 del; 30 mod

8191406: [hidpi] sun/java2d/SunGraphics2D/DrawImageBilinear.java test fails

Reviewed-by: serb

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

PR: https://git.openjdk.org/jdk/pull/11201



More information about the client-libs-dev mailing list