On Thu, 13 Oct 2022 04:52:02 GMT, Tejesh R <t...@openjdk.org> wrote:

>> Probably it will be good to automate it, and cover the macOS? I do not see a 
>> reason why we cannot set Metal L&F and verify the fix.
>
> 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....?

> 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.

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

PR: https://git.openjdk.org/jdk/pull/10485

Reply via email to