RFR: 6595142: (spec) ByteArrayInputStream treats bytes, not characters

Daniel Jeliński djelinski at openjdk.org
Fri Feb 10 08:50:42 UTC 2023


On Fri, 10 Feb 2023 02:11:35 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Replace the two occurrences of `character` with `byte`.

There are similar incorrect comments in SequenceInputStream and BufferedInputStream. There could be others, but "character" is a very popular word, so they are hard to spot.

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

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


More information about the core-libs-dev mailing list