RFR: 8354724: Methods in java.io.Reader to read all characters and all lines [v22]

Brian Burkhalter bpb at openjdk.org
Fri May 16 18:40:38 UTC 2025


On Fri, 16 May 2025 18:21:10 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> src/java.base/share/classes/java/io/Reader.java line 478:
>> 
>>> 476:      *
>>> 477:      * <p> If an I/O error occurs reading from the stream, then it
>>> 478:      * may do so after some, but not all, characters have been read.
>> 
>> Is this better?
>> Suggestion:
>> 
>>      * <p> If an I/O error occurs reading from the stream, then some characters, but not all, may have been read.
>
>> Is this better?
> 
> I think it is clearer.

Thanks.

Applied in [a86610d](https://github.com/openjdk/jdk/pull/24728/commits/a86610d06169445a5c4b81a0c60527130a45e045).

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24728#discussion_r2093518217


More information about the core-libs-dev mailing list