RFR: 8277463: JFileChooser with Metal L&F doesn't show non-canonical UNC path in - Look in [v3]
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Wed Jan 5 10:20:17 UTC 2022
On Thu, 23 Dec 2021 09:39:59 GMT, Masanori Yano <myano at openjdk.org> wrote:
>> I would like to fix the bug reported in JDK-8277463.
>>
>> As reporter's investigation, ShellFolder.getNormalizedFile() returns incorrect value for non-canonical Windows UNC path. getNormalizedFile() is used for symbolic link path, but Windows environment does not handle symbolic link. And, getCanonicalFile() returns correct path for a directory link in Windows which is made with `mklink` command. So getNormalizedFile() should perform to return getCanonicalFile() like WindowsFileChooserUI.addItem() at Windows environment.
>
> 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
Although it is reproduced for Nimbus L&F too due to which I did not mention to use Metal L&F at start, but I don't object to switch to Metal at start.
-------------
Marked as reviewed by psadhukhan (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/6796
More information about the client-libs-dev
mailing list