-
Bug
-
Resolution: Unresolved
-
P4
-
21
-
b26
In JDK-8281966, the test/jdk/javax/swing/JFileChooser/FileChooserSymLinkTest.java test was written to ensure symbolic links on Windows can be selected in JFileChooser.
During code review forJDK-8307105, which fixes the regression from JDK-8281966, I found that JFileChooser still returns null [1] for junctions [2]. On Windows, junctions are more common than symbolic links.
AfterJDK-8307105 is fixed, junctions can be selected in JFileChooser. The FileChooserSymLinkTest.java test should be expanded to cover this scenario too.
[1] https://github.com/openjdk/jdk/pull/13998#discussion_r1204238269
[2] https://learn.microsoft.com/en-us/windows/win32/fileio/hard-links-and-junctions#junctions
During code review for
After
[1] https://github.com/openjdk/jdk/pull/13998#discussion_r1204238269
[2] https://learn.microsoft.com/en-us/windows/win32/fileio/hard-links-and-junctions#junctions
- relates to
-
JDK-8307105 JFileChooser InvalidPathException when selecting some system folders on Windows
- Resolved
-
JDK-8281966 Absolute path of symlink is null in JFileChooser
- Resolved
- links to