mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8339574: Behavior of File.is{Directory,File,Hidden} is not documented with respect to symlinks
Reviewed-by: djelinski, alanb
This commit is contained in:
parent
f87701635f
commit
64e3a9ee91
4 changed files with 63 additions and 20 deletions
|
@ -85,7 +85,9 @@ public class FileInputStream extends InputStream
|
|||
* Creates a {@code FileInputStream} by
|
||||
* opening a connection to an actual file,
|
||||
* the file named by the path name {@code name}
|
||||
* in the file system. A new {@code FileDescriptor}
|
||||
* in the file system. {@linkplain java.nio.file##links Symbolic links}
|
||||
* are automatically redirected to the <i>target</i> of the link.
|
||||
* A new {@code FileDescriptor}
|
||||
* object is created to represent this file
|
||||
* connection.
|
||||
* <p>
|
||||
|
@ -117,6 +119,8 @@ public class FileInputStream extends InputStream
|
|||
* opening a connection to an actual file,
|
||||
* the file named by the {@code File}
|
||||
* object {@code file} in the file system.
|
||||
* {@linkplain java.nio.file##links Symbolic links}
|
||||
* are automatically redirected to the <i>target</i> of the link.
|
||||
* A new {@code FileDescriptor} object
|
||||
* is created to represent this file connection.
|
||||
* <p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue