<AWT Dev> RFR: 8198617: java/awt/Focus/6382144/EndlessLoopTest.java fails on mac

Sergey Bylokhov serb at openjdk.java.net
Sun Apr 25 21:03:33 UTC 2021


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

> This test was failing earlier in our nightly testing citing "java.lang.RuntimeException: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location "
> Updated test to 
> use swing components in EDT, 
> setAutoDelay for mouse events, 
> add a delay after frame is made visible,
> move the frame to center of screen 
> and dispose of the frame finally.
> 
> Several iterations of the test pass in all platforms. Link in JBS.

Please check that 6382144 can be verified by the updated test.

-------------

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


More information about the awt-dev mailing list