RFR: 8273573: [macos12] ActionListenerCalledTwiceTest.java fails on macOS 12
Alexander Zvegintsev
azvegint at openjdk.java.net
Mon Jun 6 20:36:53 UTC 2022
On Fri, 3 Jun 2022 03:47:14 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> This test was failing consistently on same machines and at the same time as #8532.
>>
>> Test failure is also no longer reproducible after #8320 fix.
>>
>> This is macOS only test, so corresponding `@requires os.family` tag was added. Testing is green.
>
> However, there are some observations in the JBS by @prrace regarding the test which have not been handled
>
>
> Also I noticed that the test doesn't exit. It appears that the call to
>
> Desktop.getDesktop().setDefaultMenuBar(bar);
>
> is effectively creating another visible window so the AWT thread doesn't exit.
>
> Adding this line below allows the test to exit and should be added to the test
> SwingUtilities.invokeAndWait(() -> Desktop.getDesktop().setDefaultMenuBar(null));
@prsadhuk do you have any other comments to resolve?
-------------
PR: https://git.openjdk.java.net/jdk/pull/9003
More information about the client-libs-dev
mailing list