RFR: 8191406: [hidpi] sun/java2d/SunGraphics2D/DrawImageBilinear.java test fails [v3]
Jayathirth D V
jdv at openjdk.org
Fri Nov 18 06:52:52 UTC 2022
> 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
Jayathirth D V has refreshed the contents of this pull request, and previous commits have been removed. Incremental views are not available. The pull request now contains four commits:
- Remove image dump
- ProblemList only on Linux
- Add background color and tolerance
- Initial change
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/11201/files
- new: https://git.openjdk.org/jdk/pull/11201/files/ec464893..60c75caa
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=11201&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=11201&range=01-02
Stats: 15 lines in 1 file changed: 14 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/11201.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11201/head:pull/11201
PR: https://git.openjdk.org/jdk/pull/11201
More information about the client-libs-dev
mailing list