RFR: 8069345: (fs) FileTreeWalker throws NotDirectoryException on file junction points [v2]
Brian Burkhalter
bpb at openjdk.org
Fri Oct 18 20:39:59 UTC 2024
On Fri, 18 Oct 2024 11:51:42 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> Directory junctions may be semantically close but aren't quite the same thing so I fear that this will require effort to audit every I/O operation to flush out oddities.
Probably. The constrained case of true directory junctions, where the mount point target is specified as an absolute path to a directory, is in effect identical to a symbolic link whose target is a directory. I don't think anything beyond this should be considered.
> I also fear this will leading to weasel words in the specs.
I am sure that some sort of verbiage would be needed, in particular to clarify the limited scope of support.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21555#issuecomment-2423196177
More information about the nio-dev
mailing list