8233910: java/awt/ColorClass/AlphaColorTest.java is failing intermittently in nightly lnux-x64 system

Reviewed-by: serb, prr
This commit is contained in:
Prasanta Sadhukhan 2019-11-12 12:29:09 +05:30
parent a71509ce0d
commit a1e0fe458c

View File

@ -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 @@ public class AlphaColorTest extends Component {
};
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);
}