Skip to content
Permalink
Browse files
8221903: PIT: javax/swing/RepaintManager/IconifyTest/IconifyTest.java…
… fails on ubuntu18.04

Reviewed-by: mdoerr
Backport-of: e9e86ff
  • Loading branch information
GoeLin committed Sep 23, 2021
1 parent 43861d7 commit ae60ed6f0517465bbd164f600c3bccf25d6bb35a
Showing 1 changed file with 2 additions and 0 deletions.
@@ -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.");

1 comment on commit ae60ed6

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on ae60ed6 Sep 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.