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

Brian Burkhalter bpb at openjdk.java.net
Sat Jan 29 04:11:09 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.

Never mind about #2: I know what you mean.

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

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


More information about the nio-dev mailing list