mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8343823: (fs) Files.createLink: inconsistent behavior when creating link to symbolic link
Reviewed-by: alanb
This commit is contained in:
parent
eef156180c
commit
aaf3df7bb8
1 changed files with 4 additions and 1 deletions
|
@ -982,7 +982,10 @@ public final class Files {
|
||||||
* The {@code existing} parameter is the path to an existing file. This
|
* 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
|
* 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
|
* 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
|
* maintained for the file or for each directory entry is file system
|
||||||
* specific and therefore not specified. Typically, a file system requires
|
* specific and therefore not specified. Typically, a file system requires
|
||||||
* that all links (directory entries) for a file be on the same file system.
|
* that all links (directory entries) for a file be on the same file system.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue