RFR: 8069345: (fs) FileTreeWalker throws NotDirectoryException on file junction points [v2]

Alan Bateman alanb at openjdk.org
Thu Oct 17 06:12:20 UTC 2024


On Thu, 17 Oct 2024 01:37:01 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Improve support for Windows directory junctions.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8069345: Add os.family == windows to tests

This is going to require time to think through whether this is a good idea or not. The JDK supports sym links on Windows and adding support for other unusual junctions types has the potential to introduce inconsistencies and weirdness that are outside the scope of the APIs.  I will try to get time in the next few weeks to comment but this is not a change that we should rush into.

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

PR Comment: https://git.openjdk.org/jdk/pull/21555#issuecomment-2418598658


More information about the nio-dev mailing list