RFR: 8029370: (fc) FileChannel javadoc not clear for cases where position == size

Brian Burkhalter bpb at openjdk.org
Fri Feb 24 16:29:04 UTC 2023


On Fri, 24 Feb 2023 11:26:38 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> Yes, it should be "greater than or equal to the file's current size". I assume transferFrom needs the same change. The javadoc update technically introduces a new testable assertion so I think a CSR should be created.

I thought I checked `transferFrom` but will look again. A CSR was indeed created.

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

PR: https://git.openjdk.org/jdk/pull/12735


More information about the nio-dev mailing list