mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
4774868: (fc spec) Unclear spec for FileChannel.force
Reviewed-by: alanb
This commit is contained in:
parent
409382ba4b
commit
95ee9bf7be
1 changed files with 3 additions and 1 deletions
|
@ -566,7 +566,9 @@ public abstract class FileChannel
|
|||
* actually done is system-dependent and is therefore unspecified.
|
||||
*
|
||||
* <p> This method is only guaranteed to force changes that were made to
|
||||
* this channel's file via the methods defined in this class. It may or
|
||||
* this channel's file via the methods defined in this class, or the methods
|
||||
* defined by {@link FileOutputStream} or {@link RandomAccessFile} when the
|
||||
* channel was obtained with the {@code getChannel} method. It may or
|
||||
* may not force changes that were made by modifying the content of a
|
||||
* {@link MappedByteBuffer <i>mapped byte buffer</i>} obtained by
|
||||
* invoking the {@link #map map} method. Invoking the {@link
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue