RFR: 8316324: Opensource five miscellaneous Swing tests

Alexander Zuev kizune at openjdk.org
Fri Mar 22 21:45:32 UTC 2024


On Fri, 22 Mar 2024 09:04:28 GMT, Tejesh R <tr at openjdk.org> wrote:

>> Clean up and opensource five tests.
>
> test/jdk/javax/swing/InputVerifier/bug4774166.java line 165:
> 
>> 163:         robot.hitKey(KeyEvent.VK_M);
>> 164:         robot.hitKey(KeyEvent.VK_N);
>> 165:         robot.hitKey(KeyEvent.VK_O);
> 
> WaitForIdle might be used in between a set of key events.......

There is a delay happening inside the JRobot method and the idea is to generate events as they are coming from the system - without waiting for the event queue to catch up.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18443#discussion_r1536251004


More information about the client-libs-dev mailing list