RFR: 7132279: (ch) SeekableByteChannel operation may throw Non{Readable,Writable}ChannelException
Brian Burkhalter
bpb at openjdk.org
Mon Nov 14 20:01:16 UTC 2022
Fix the specifications of the `read` and `write` methods in `SeekableByteChannel` and `FileChannel` to indicate that a `NonReadableChannelException` or `NonWritableChannelException`, respectively.
-------------
Commit messages:
- 7132279: (ch) SeekableByteChannel operation may throw Non{Readable,Writable}ChannelException
Changes: https://git.openjdk.org/jdk/pull/11141/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11141&range=00
Issue: https://bugs.openjdk.org/browse/JDK-7132279
Stats: 17 lines in 2 files changed: 8 ins; 9 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/11141.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11141/head:pull/11141
PR: https://git.openjdk.org/jdk/pull/11141
More information about the nio-dev
mailing list