mirror of
https://github.com/darlinghq/darling-openjdk.git
synced 2024-12-02 17:36:50 +00:00
8233910: java/awt/ColorClass/AlphaColorTest.java is failing intermittently in nightly lnux-x64 system
Reviewed-by: serb, prr
This commit is contained in:
parent
a71509ce0d
commit
a1e0fe458c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user