RFR: 8277463: JFileChooser with Metal L&F doesn't show non-canonical UNC path in - Look in [v2]

Masanori Yano myano at openjdk.java.net
Mon Dec 20 09:36:18 UTC 2021


On Wed, 15 Dec 2021 03:50:11 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Masanori Yano has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8277463: JFileChooser with Metal L&F doesn't show non-canonical UNC path in - Look in
>
> test/jdk/javax/swing/JFileChooser/8277463/UNCFileChooserTest.java line 105:
> 
>> 103:             throw new RuntimeException("Enter the directory path to test.");
>> 104:         }
>> 105:         UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
> 
> The test might be executed under some non-default L&F and switching it here might cause some issues for the instruction dialog which will not be updated to use the metal. So it is better to set metal at the start of the test.

I fixed the test as it was pointed out to me.

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

PR: https://git.openjdk.java.net/jdk/pull/6796



More information about the client-libs-dev mailing list