On Fri, 26 May 2023 14:00:16 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

> Another option is to modify `isFileSystem` so that it returns `true` for all 
> filesystem objects, excluding the added condition that it should be not a 
> link to directory.

I assume this is required to ensure `JFileChooser` doesn't return `.lnk` file 
when in directory-only selection mode, and probably doesn't report is directory 
is selected when you select `.lnk` file. Double-clicking the `.lnk` file 
resolves to its target, then the directory can be safely returned.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13998#discussion_r1206841598

Reply via email to