8233910: java/awt/ColorClass/AlphaColorTest.java is failing intermittently in nightly lnux-x64 system
Reviewed-by: serb, prr
--- a/test/jdk/java/awt/ColorClass/AlphaColorTest.java Fri Nov 08 13:16:27 2019 +0530
+++ b/test/jdk/java/awt/ColorClass/AlphaColorTest.java Tue Nov 12 12:29:09 2019 +0530
@@ -24,7 +24,7 @@
/**
* @test
* @key headful
- * @bug 8204931 8227392 8224825
+ * @bug 8204931 8227392 8224825 8233910
* @summary test alpha colors are blended with background.
*/
@@ -83,6 +83,8 @@
};
Color color = new Color(255, 255, 255, 127);
frame.add("Center", new AlphaColorTest(color));
+ frame.setUndecorated(true);
+ frame.setLocationRelativeTo(null);
frame.pack();
frame.setVisible(true);
}