RFR: 8029370: (fc) FileChannel javadoc not clear for cases where position == size
Lance Andersen
lancea at openjdk.org
Thu Feb 23 23:11:04 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."
Hi Brian,
The change looks fine.
This probably should have a CSR to go with it (unless you have checked on that already)
-------------
Marked as reviewed by lancea (Reviewer).
PR: https://git.openjdk.org/jdk/pull/12735
More information about the nio-dev
mailing list