RFR: 8277463: JFileChooser with Metal L&F doesn't show non-canonical UNC path in - Look in [v3]
Masanori Yano
myano at openjdk.java.net
Thu Dec 23 09:39:59 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/3e163ff9..5a164033
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6796&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6796&range=01-02
Stats: 37 lines in 1 file changed: 0 ins; 2 del; 35 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