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

Brian Burkhalter bpb at openjdk.org
Wed Nov 16 17:35:50 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.

This pull request has now been integrated.

Changeset: b97fc934
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b97fc934373d6fd515c70b2b7fde32fe63437597
Stats:     17 lines in 2 files changed: 8 ins; 9 del; 0 mod

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

Reviewed-by: lancea, jpai

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

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


More information about the nio-dev mailing list