On Wed, 10 Feb 2021 11:43:11 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
>> test/jdk/javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java line 94: >> >>> 92: SwingUtilities.invokeAndWait(() -> frame.setVisible(true)); >>> 93: robot.waitForIdle(); >>> 94: robot.delay(1000); >> >> Why do you need this delay and then one more in between the "test"? > > This is between visible and destroy..The other one before start of the 2nd > test which will crate 2nd frame.. And why do you need both? The test does not use the robot, so the test can show all windows at once. ------------- PR: https://git.openjdk.java.net/jdk/pull/2502