RFR: 8288080: (fc) FileChannel::map for MemorySegments should state it always throws UOE

Alan Bateman alanb at openjdk.java.net
Thu Jun 9 08:22:26 UTC 2022


On Wed, 8 Jun 2022 23:33:29 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Add an `@implSpec` annotation to the `java.nio.channels.FileChannel::map` method for mapped memory segments indicating that it always throws an `UnsupportedOperationException`.

Marked as reviewed by alanb (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/9095


More information about the nio-dev mailing list