RFR: 8015444: closed/java/awt/Focus/KeyStrokeTest/KeyStrokeTest.html sometimes fails

Tejesh R tr at openjdk.org
Mon Sep 15 06:05:12 UTC 2025


On Wed, 10 Sep 2025 03:41:23 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> Although the test doesn't fail in recent run, test is updated to use CountDownLatch with proper delay and frame being made to render to screen centre. 
> Several iterations of the test is ok, test job in JBS

Marked as reviewed by tr (Reviewer).

test/jdk/java/awt/Focus/KeyStrokeTest.java line 48:

> 46:     static boolean keyTyped;
> 47:     static Frame frame;
> 48:     static Robot robot;

Looks good to me. Robot can be moved inside main().

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

PR Review: https://git.openjdk.org/jdk/pull/27182#pullrequestreview-3223020977
PR Review Comment: https://git.openjdk.org/jdk/pull/27182#discussion_r2347952003


More information about the client-libs-dev mailing list