mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8288080: (fc) FileChannel::map for MemorySegments should state it always throws UOE
Backport-of: a9c2ab67c4
This commit is contained in:
parent
1f9521e6cb
commit
651cbebb96
1 changed files with 3 additions and 0 deletions
|
@ -997,6 +997,9 @@ public abstract class FileChannel
|
||||||
* of mapped memory associated with the returned mapped memory
|
* of mapped memory associated with the returned mapped memory
|
||||||
* segment is unspecified and should not be relied upon.
|
* segment is unspecified and should not be relied upon.
|
||||||
*
|
*
|
||||||
|
* @implSpec The default implementation of this method throws
|
||||||
|
* {@code UnsupportedOperationException}.
|
||||||
|
*
|
||||||
* @param mode
|
* @param mode
|
||||||
* The file mapping mode, see
|
* The file mapping mode, see
|
||||||
* {@link FileChannel#map(FileChannel.MapMode, long, long)};
|
* {@link FileChannel#map(FileChannel.MapMode, long, long)};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue