RFR: 8279946: (ch) java.nio.channels.FileChannel tryLock and write methods are missing @throws NonWritableChannelException [v2]
Brian Burkhalter
bpb at openjdk.java.net
Thu Jan 20 19:41:50 UTC 2022
On Thu, 20 Jan 2022 17:59:25 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> Please consider this change which would add `@throws` clauses for `NonWritableChannelException` to the various `tryLock()` and `write()` methods in `java.nio.channels.FileChannel`.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>
> 8279946: Add missing NonReadableChannelException for tryLock(long,long,boolean)
No worries.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7058
More information about the nio-dev
mailing list