RFR: 8222329: Readable read(CharBuffer) does not specify that 0 is returned when there is no remaining space in buffer

Brian Burkhalter bpb at openjdk.org
Thu Jun 22 18:30:13 UTC 2023


Clarify the behavior of `java.lang.Readable` when the specified `java.nio.CharBuffer` parameter is empty but read-only, and when it is full.

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

Commit messages:
 - 8222329: Readable read(CharBuffer) does not specify that 0 is returned when there is no remaining space in buffer

Changes: https://git.openjdk.org/jdk/pull/14616/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14616&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8222329
  Stats: 17 lines in 3 files changed: 9 ins; 0 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/14616.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14616/head:pull/14616

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


More information about the core-libs-dev mailing list