<Swing Dev> RFR: 8160720: [TEST_BUG] javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java
Sergey Bylokhov
serb at openjdk.java.net
Wed Feb 10 21:36:41 UTC 2021
On Wed, 10 Feb 2021 11:43:11 GMT, Prasanta Sadhukhan <psadhukhan at 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
More information about the swing-dev
mailing list