<AWT Dev> RFR: 8198619: java/awt/Focus/FocusTraversalPolicy/ButtonGroupLayoutTraversal/ButtonGroupLayoutTraversalTest.java fails on mac

Sergey Bylokhov serb at openjdk.java.net
Sun Apr 25 21:00:36 UTC 2021

On Thu, 22 Apr 2021 08:52:23 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> This test was failing in CI nightly testing due to samevm mode issue. 
> Modified test to use waitForIdle() judiciously, dispose frame in finally block and move the frame to center of screen.
> Several iterations of the test pass in all platforms. Link in JBS.

test/jdk/java/awt/Focus/FocusTraversalPolicy/ButtonGroupLayoutTraversal/ButtonGroupLayoutTraversalTest.java line 81:

> 79:             }
> 80: 
> 81:             robot.waitForIdle();

Looks like this is not needed, a line above we call it already(in the loop.)


PR: https://git.openjdk.java.net/jdk/pull/3618

More information about the awt-dev mailing list