8343823: (fs) Files.createLink: inconsistent behavior when creating link to symbolic link
Reviewed-by: alanb
This commit is contained in:
parent
eef156180c
commit
aaf3df7bb8
@ -982,7 +982,10 @@ public final class Files {
|
||||
* The {@code existing} parameter is the path to an existing file. This
|
||||
* method creates a new directory entry for the file so that it can be
|
||||
* accessed using {@code link} as the path. On some file systems this is
|
||||
* known as creating a "hard link". Whether the file attributes are
|
||||
* known as creating a "hard link". If the {@code existing} parameter
|
||||
* is the path to a symbolic link, then whether the new link is for the
|
||||
* target of the symbolic link or for the symbolic link itself is platform
|
||||
* dependent and therefore not specified. Whether the file attributes are
|
||||
* maintained for the file or for each directory entry is file system
|
||||
* specific and therefore not specified. Typically, a file system requires
|
||||
* that all links (directory entries) for a file be on the same file system.
|
||||
|
Loading…
Reference in New Issue
Block a user