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

Sergey Bylokhov serb at openjdk.java.net
Wed Apr 28 04:17:50 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.

Marked as reviewed by serb (Reviewer).


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

More information about the awt-dev mailing list