changeset 57023:571089680cb2

8233910: java/awt/ColorClass/AlphaColorTest.java is failing intermittently in nightly lnux-x64 system Reviewed-by: serb, prr
author psadhukhan
date Tue, 12 Nov 2019 12:29:09 +0530
parents 7a5060f0039f
children d5af26ef7b95
files test/jdk/java/awt/ColorClass/AlphaColorTest.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
     }