Integrated: 8369854: (ch) Refine specification of behavior of {Gathering,Writable}ByteChannel.write
Brian Burkhalter
bpb at openjdk.org
Mon Oct 20 15:29:15 UTC 2025
On Wed, 15 Oct 2025 22:01:12 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Modify the specification of the `write` methods of `WritableByteChannel` and `GatheringByteChannel` in the `java.nio.channels` package to emphasize that each method invocation returns only the number of bytes written in that invocation and that `write` might have to be invoked more than once for all requested bytes to be written.
This pull request has now been integrated.
Changeset: a1be2979
Author: Brian Burkhalter <bpb at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a1be29791156645fdcad69a4b7ab770a05f0fe0e
Stats: 14 lines in 2 files changed: 6 ins; 0 del; 8 mod
8369854: (ch) Refine specification of behavior of {Gathering,Writable}ByteChannel.write
Reviewed-by: alanb
-------------
PR: https://git.openjdk.org/jdk/pull/27833
More information about the nio-dev
mailing list