On Thu, 2 Jun 2022 20:12:01 GMT, Alexander Zvegintsev <azveg...@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)); ------------- PR: https://git.openjdk.java.net/jdk/pull/9003