Integrated: 5041655: (ch) FileLock: negative param and overflow issues

Brian Burkhalter bpb at openjdk.java.net
Tue Feb 22 17:28:54 UTC 2022


On Thu, 27 Jan 2022 22:12:32 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Add an implementation note to `java.nio.channels.FileLock.overlaps(long,long)` indicating that the method does not check its parameters. Adding such checks would be an incompatible change.

This pull request has now been integrated.

Changeset: 6445ee46
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/6445ee46b5c3d1a46f8154b6e867c25d495d76b1
Stats:     250 lines in 9 files changed: 205 ins; 3 del; 42 mod

5041655: (ch) FileLock: negative param and overflow issues

Reviewed-by: alanb

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

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


More information about the nio-dev mailing list