mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-11 14:11:36 +00:00
8288080: (fc) FileChannel::map for MemorySegments should state it always throws UOE
Reviewed-by: alanb
This commit is contained in:
parent
e90b579b29
commit
a9c2ab67c4
@ -997,6 +997,9 @@ public abstract class FileChannel
|
||||
* of mapped memory associated with the returned mapped memory
|
||||
* segment is unspecified and should not be relied upon.
|
||||
*
|
||||
* @implSpec The default implementation of this method throws
|
||||
* {@code UnsupportedOperationException}.
|
||||
*
|
||||
* @param mode
|
||||
* The file mapping mode, see
|
||||
* {@link FileChannel#map(FileChannel.MapMode, long, long)};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user