<AWT Dev> RFR: 8198617: java/awt/Focus/6382144/EndlessLoopTest.java fails on mac
psadhukhan at openjdk.java.net
Thu Apr 22 06:33:31 UTC 2021
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.
- 8198617: java/awt/Focus/6382144/EndlessLoopTest.java fails on mac
Stats: 111 lines in 2 files changed: 47 ins; 36 del; 28 mod
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3614/head:pull/3614
More information about the awt-dev