RFR: 8248383: Clarify java.io.Reader.read(char[], ...) behavior for full array
Lance Andersen
lancea at openjdk.java.net
Thu Dec 10 18:32:00 UTC 2020
On Thu, 10 Dec 2020 17:22:06 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Please review this small verbiage change to specify clearly the behavior of `Reader::read(char[] cbuf)` when the length of `cbuf` is zero, and that of `Reader::read(char[] cbuf, int off, int len)` when `len` is zero.
Hi Brian,
Are there existing tests that cover the behavior described in the proposed change?
-------------
PR: https://git.openjdk.java.net/jdk/pull/1737
More information about the core-libs-dev
mailing list