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.

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

Commit messages:
 - 8277463: JFileChooser with Metal L&F doesn't show non-canonical UNC path in 
- Look in

Changes: https://git.openjdk.java.net/jdk/pull/6796/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6796&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8277463
  Stats: 128 lines in 2 files changed: 127 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6796.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6796/head:pull/6796

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

Reply via email to