RFR: 6924219: (fc spec) FileChannel.write(ByteBuffer, position) behavior when file opened for append not specified

Brian Burkhalter bpb at openjdk.org
Thu Oct 13 23:54:12 UTC 2022


Add some verbiage stating that the outcome of invoking the absolute write method `java.nio.channels.write(ByteBuffer,long)` is unspecified when the channel was opened with the `APPEND` option present.

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

Commit messages:
 - 6924219: (fc spec) FileChannel.write(ByteBuffer, position) behavior when file opened for append not specified

Changes: https://git.openjdk.org/jdk/pull/10707/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10707&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-6924219
  Stats: 9 lines in 1 file changed: 7 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/10707.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10707/head:pull/10707

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


More information about the nio-dev mailing list