On Fri, 3 Jun 2022 03:47:14 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
> 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)); > ``` BTW this affects only running test in a standalone mode, jtreg handles this. But it may be a bad example, so updated. > I guess you can remove @author, @modules and also jtreg "Platform" dependency > by using System.getProperty("os.name") and update the copyright year Sure, but initially it was just a removal from problemlist. Updated. ------------- PR: https://git.openjdk.java.net/jdk/pull/9003