RFR: 8222329: Readable read(CharBuffer) does not specify that 0 is returned when there is no remaining space in buffer [v6]
Brian Burkhalter
bpb at openjdk.org
Fri Jun 23 20:56:16 UTC 2023
On Fri, 23 Jun 2023 20:46:29 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> src/java.base/share/classes/java/io/Reader.java line 194:
>>
>>> 192: * rewinding of the buffer is performed. If the specified character
>>> 193: * buffer has no space {@linkplain java.nio.Buffer#hasRemaining
>>> 194: * remaining} or or its {@linkplain java.nio.CharBuffer#length length}
>>
>> typo: "or or" -> "or"
>
> Bummer. Thanks.
Fixed by 8bcf4674c24f72401ab80564541d724336a60d79.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14616#discussion_r1240379682
More information about the core-libs-dev
mailing list