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

Alexander Zuev kizune at openjdk.org
Thu Mar 14 12:47:41 UTC 2024


On Thu, 14 Mar 2024 12:40:59 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 65:
> 
>> 63:         });
>> 64:         robot.waitForIdle();
>> 65:         SwingUtilities.invokeAndWait(() -> {
> 
> Is it ok to have SwingUtilities.invokeAndWait? 
> Or should we use EventQueue.invokeAndWait ?

My bad. We should use EventQueue.

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

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


More information about the client-libs-dev mailing list