RFR: 8328158: Convert java/awt/Choice/NonFocusablePopupMenuTest to automatic main test

Alexander Zuev kizune at openjdk.org
Thu Mar 14 12:51:39 UTC 2024


On Thu, 14 Mar 2024 12:42:00 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

>> Convert test to the automatic main and move it from its own folder since it is no longer required.
>
> test/jdk/java/awt/Choice/NonFocusablePopupMenuTest.java line 74:
> 
>> 72:         robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK);
>> 73:         robot.waitForIdle();
>> 74:         robot.delay(500);
> 
> Any specific reason to have 500 ms delay. Can it be reduced?

Giving native peer some time to process request to populate a popup from choice. 500 ms seems reasonable.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18300#discussion_r1524795470


More information about the client-libs-dev mailing list