On Fri, 10 Dec 2021 08:59:55 GMT, Masanori Yano <[email protected]> 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. This pull request has now been integrated. Changeset: 319d2303 Author: Masanori Yano <[email protected]> Committer: Prasanta Sadhukhan <[email protected]> URL: https://git.openjdk.java.net/jdk/commit/319d23033f4a814935f10885aef725c818b0baed Stats: 126 lines in 2 files changed: 125 ins; 0 del; 1 mod 8277463: JFileChooser with Metal L&F doesn't show non-canonical UNC path in - Look in Reviewed-by: psadhukhan ------------- PR: https://git.openjdk.java.net/jdk/pull/6796
