<AWT Dev> Integrated: 8198617: java/awt/Focus/6382144/EndlessLoopTest.java fails on mac
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Wed Apr 28 05:52:54 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.
This pull request has now been integrated.
Changeset: ce48f040
Author: Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/ce48f04085817f09535647ed6fd66849916ff56e
Stats: 111 lines in 2 files changed: 47 ins; 36 del; 28 mod
8198617: java/awt/Focus/6382144/EndlessLoopTest.java fails on mac
Reviewed-by: jdv, serb
-------------
PR: https://git.openjdk.java.net/jdk/pull/3614
More information about the awt-dev
mailing list