This test fails from time to time on Linux in mach5. I was able to reproduce it on one of the hosts and confirm that the root cause was in the slow systems, which could not complete show/repaint/show/repaint actions in time. After the fix the test will wait a little bit longer and request a repaint on each falied attempt.
I am also added and additional logging to make possible bugs evaluations easy. ------------- Commit messages: - Update CheckCommonColors.java Changes: https://git.openjdk.java.net/jdk/pull/494/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=494&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8253269 Stats: 24 lines in 1 file changed: 20 ins; 0 del; 4 mod Patch: https://git.openjdk.java.net/jdk/pull/494.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/494/head:pull/494 PR: https://git.openjdk.java.net/jdk/pull/494