RFR: 8336895: BufferedReader doesn't read full \r\n line ending when it doesn't fit in buffer [v4]
Brian Burkhalter
bpb at openjdk.org
Mon Sep 23 16:29:16 UTC 2024
On Sat, 21 Sep 2024 15:01:06 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8336895: " Doing" -> " Doing" and add some {@code} tags
>
> src/java.base/share/classes/java/io/BufferedInputStream.java line 58:
>
>> 56: * incorrect result since each instance of {@code BufferedInputStream}
>> 57: * maintains its own state.
>> 58: *
>
> It might be clearer to just say that once wrapped with a BIS, the underlying input stream should not be used directly or wrapped with another stream. This is potentially something for an apiNote as it's more about API usage,
Verbiage changed and converted to an `apiNote` in 503d123.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20320#discussion_r1771754675
More information about the core-libs-dev
mailing list