Hi All, Please review a test fix for the following bug: Bug: https://bugs.openjdk.java.net/browse/JDK-8198690
Webrev: http://cr.openjdk.java.net/~sveerabhadra/8198690/webrev.00/ Summary: Certain tests under the folder java/awt/Window/ShapedAndTranslucentWindows fails due to color comparison between expected and actual one. These tests fails only on MacOS. These are the tests that fails for the color comparison: 1. java/awt/Window/ShapedAndTranslucentWindows/StaticallyShaped.java 2. java/awt/Window/ShapedAndTranslucentWindows/Shaped.java 3. java/awt/Window/ShapedAndTranslucentWindows/ShapedTranslucent.java Certain lenience is made for the color comparison logic by adding certain tolerance band for the same. The color difference varies from a value of 5 to 40, hence chosen the maximum out of this difference. I had tried delays and other syncing methods but all fails. Please let me know if there is any better logic to avoid tolerance based color comparison. Thanks and regards, Shashi