8233910: java/awt/ColorClass/AlphaColorTest.java is failing intermittently in nightly lnux-x64 system
authorpsadhukhan
Tue, 12 Nov 2019 12:29:09 +0530
changeset 59185 571089680cb2
parent 59184 7a5060f0039f
child 59186 d5af26ef7b95
8233910: java/awt/ColorClass/AlphaColorTest.java is failing intermittently in nightly lnux-x64 system Reviewed-by: serb, prr
test/jdk/java/awt/ColorClass/AlphaColorTest.java
--- 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);
     }