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

Brian Burkhalter bpb at openjdk.org
Tue May 13 15:33:43 UTC 2025


On Tue, 13 May 2025 15:25:57 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> src/java.base/share/classes/java/io/Reader.java line 430:
>> 
>>> 428:      * <p> The behavior for the case where the reader is
>>> 429:      * <i>asynchronously closed</i>, or the thread interrupted during the
>>> 430:      * read, is highly input stream specific, and therefore not specified.
>> 
>> The carry over of this paragraph needs to replace "input stream" with reader (same thing in the other method).
>
> Yeah, I slipped up bringing the words over from `InputStream`.

Fixed in 98387b0.

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

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


More information about the core-libs-dev mailing list