On Thu, 13 Oct 2022 20:01:37 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

>> 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.
> 
> You can always change the L&F in the code.

Ok will check in macOS again then.

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

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

Reply via email to