RFR: 8277463: JFileChooser with Metal L&F doesn't show non-canonical UNC path in - Look in
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Tue Dec 14 17:10:08 UTC 2021
On Fri, 10 Dec 2021 08:59:55 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.
looks ok
-------------
Marked as reviewed by psadhukhan (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/6796
More information about the client-libs-dev
mailing list