Skip to content
Permalink
Browse files

8221903: PIT: javax/swing/RepaintManager/IconifyTest/IconifyTest.java…

… fails on ubuntu18.04

Reviewed-by: serb
  • Loading branch information
prsadhuk committed Dec 4, 2019
1 parent 70762d3 commit e9e86ffb3083b0fdd33a29deb0c7370bc8935065
Showing with 2 additions and 1 deletion.
  1. +0 −1 test/jdk/ProblemList.txt
  2. +2 −0 test/jdk/javax/swing/RepaintManager/IconifyTest/IconifyTest.java
@@ -834,7 +834,6 @@ javax/swing/JEditorPane/6917744/bug6917744.java 8213124 macosx-all
javax/swing/JTable/6263446/bug6263446.java 8169959 macosx-all
javax/swing/JTree/6263446/bug6263446.java 8213125 macosx-all
javax/swing/JTree/8003400/Test8003400.java 8197560 macosx-all,linux-all
javax/swing/RepaintManager/IconifyTest/IconifyTest.java 8221903 linux-all
javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java 8221902 linux-all,macosx-all
javax/swing/ToolTipManager/Test6256140.java 8233560 macosx-all
javax/swing/text/View/8014863/bug8014863.java 8233561 macosx-all
@@ -62,13 +62,15 @@ public void windowIconified(WindowEvent e) {
}
});
robot.waitForIdle();
robot.delay(1000);

SwingUtilities.invokeAndWait(new Runnable() {
public void run() {
frame.setExtendedState(Frame.ICONIFIED);
}
});
robot.waitForIdle();
robot.delay(1000);

if (!windowIconifiedIsCalled) {
throw new Exception("Test failed: window was not iconified.");

0 comments on commit e9e86ff

Please sign in to comment.
You can’t perform that action at this time.