On Fri, 14 Oct 2022 04:39:02 GMT, Tejesh R <t...@openjdk.org> wrote: >>> Probably it will be good to automate it >> >> I've submitted [JDK-8295298](https://bugs.openjdk.org/browse/JDK-8295298): >> Automate javax/swing/JFileChooser/FileViewNPETest.java >> >>> … and cover the macOS? I do not see a reason why we cannot set Metal L&F >>> and verify the fix. >> >> Agreed. >> >>> I wasn't able to reproduce the issue in macOS, so didn't include it in >>> test...... And the fix is for metal L&F and should we explicitly set the >>> L&F? Anyhow default L&F is metal right....? >> >> The default Look and Feel is Metal except for macOS where the default one is >> Aqua which is the system L&F. The default L&F can be changed using a >> property file or setting the system property. >> >> You can always change the L&F in the code. > > Ok will check in macOS again then.
Sorry, I had not set Metal L&F while checking in macOS, the is reproducible in macOS also, and the test case has to be updated for macOS. ------------- PR: https://git.openjdk.org/jdk/pull/10485