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

Brian Burkhalter bpb at openjdk.java.net
Tue Jan 25 18:05:38 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`.

This pull request has now been integrated.

Changeset: f4575e40
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/f4575e4052bf66f1259c626e01a74d3ac593e645
Stats:     28 lines in 1 file changed: 23 ins; 0 del; 5 mod

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

Reviewed-by: alanb

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

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


More information about the nio-dev mailing list