RFR: 8336895: BufferedReader doesn't read full \r\n line ending when it doesn't fit in buffer [v2]

Brian Burkhalter bpb at openjdk.org
Fri Jul 26 21:44:36 UTC 2024


On Fri, 26 Jul 2024 04:40:35 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8336895: s/dues/does/
>
> src/java.base/share/classes/java/io/BufferedInputStream.java line 56:
> 
>> 54:  * to read from the same {@code InputStream}. There is no way for a
>> 55:  * {@code BufferedInputStream} to know what another {@code BufferedInputStream}
>> 56:  * has read from the underlying {@code InputStream}, nor dues it have access
> 
> Hello Brian, there's a typo here - should have been "does" instead of "dues". Same in the other class in this PR.

Fixed in [9c02419](https://github.com/openjdk/jdk/pull/20320/commits/9c02419241f31ff5c2c665eb3d934599f216445f), thanks.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20320#discussion_r1693628891


More information about the core-libs-dev mailing list