RFR: 8279946: (ch) java.nio.channels.FileChannel tryLock and write methods are missing @throws NonWritableChannelException

Alan Bateman alanb at openjdk.java.net
Wed Jan 19 16:52:30 UTC 2022


On Thu, 13 Jan 2022 02:40:39 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`.

Marked as reviewed by alanb (Reviewer).

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

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


More information about the nio-dev mailing list