mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8305748: Clarify reentrant behavior of close() in FileInputStream, FileOutputStream, and RandomAccessFile
Reviewed-by: alanb, bpb
This commit is contained in:
parent
1bca05eace
commit
0198afca3a
4 changed files with 17 additions and 1 deletions
|
@ -122,7 +122,8 @@ import jdk.internal.javac.PreviewFeature;
|
|||
* the originating object, and vice versa. Changing the file's length via the
|
||||
* file channel will change the length seen via the originating object, and vice
|
||||
* versa. Changing the file's content by writing bytes will change the content
|
||||
* seen by the originating object, and vice versa.
|
||||
* seen by the originating object, and vice versa. Closing the channel will
|
||||
* close the originating object.
|
||||
*
|
||||
* <a id="open-mode"></a> <p> At various points this class specifies that an
|
||||
* instance that is "open for reading," "open for writing," or "open for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue