A DESCRIPTION OF THE PROBLEM :
Windows has directory symlinks and non-directory symlinks. WindowsFileSystemProvider.createSymbolicLink stats the link target to determine which kind of link it should create. Ideally, though, one would be able to explicitly specify the type of symbolic link needed when calling Files.createSymbolicLink.
A way to do this without adding new methods would be to add a FileAttribute indicating the link type.
Windows has directory symlinks and non-directory symlinks. WindowsFileSystemProvider.createSymbolicLink stats the link target to determine which kind of link it should create. Ideally, though, one would be able to explicitly specify the type of symbolic link needed when calling Files.createSymbolicLink.
A way to do this without adding new methods would be to add a FileAttribute indicating the link type.