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:15 UTC 2021
> 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
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/6796/files
- new: https://git.openjdk.java.net/jdk/pull/6796/files/5775b5f6..3e163ff9
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6796&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6796&range=00-01
Stats: 2 lines in 1 file changed: 1 ins; 1 del; 0 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
More information about the client-libs-dev
mailing list