Integrated: 8029370: (fc) FileChannel javadoc not clear for cases where position == size
Brian Burkhalter
bpb at openjdk.org
Mon Feb 27 17:15:19 UTC 2023
On Thu, 23 Feb 2023 21:24:40 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Modify the specifications of the `java.nio.channels.FileChannel` methods `transferTo`, `read(ByteBuffer,long)`, and `write(ByteBuffer,long)` to state "greater than or equal to the file's current size" with respect to the given position instead of "greater than the file's current size."
This pull request has now been integrated.
Changeset: 42330d28
Author: Brian Burkhalter <bpb at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/42330d28da28da034da1927302990f458e76cad1
Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
8029370: (fc) FileChannel javadoc not clear for cases where position == size
Reviewed-by: lancea
-------------
PR: https://git.openjdk.org/jdk/pull/12735
More information about the nio-dev
mailing list