RFR: 7132279: (ch) SeekableByteChannel operation may throw Non{Readable,Writable}ChannelException

Brian Burkhalter bpb at openjdk.org
Mon Nov 14 20:01:17 UTC 2022


On Mon, 14 Nov 2022 19:19:24 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Fix the specifications of the `read` and `write` methods in `SeekableByteChannel` and `FileChannel` to indicate that a `NonReadableChannelException` or `NonWritableChannelException`, respectively.

There is no behavioral change.

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

PR: https://git.openjdk.org/jdk/pull/11141


More information about the nio-dev mailing list