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

Brian Burkhalter bpb at openjdk.org
Mon May 12 21:06:03 UTC 2025


On Tue, 6 May 2025 15:43:07 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Implement the requested methods and add a test thereof.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8354724: Revert BufferedReader; simplify Reader changes removing overridable self-call; update test

> Both methods will need to specify what they return when already at end of stream, does readAllAsString return an empty or null,

Empty string.

> does readAllLines return an empty list?

Empty list.

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

PR Comment: https://git.openjdk.org/jdk/pull/24728#issuecomment-2874062856


More information about the core-libs-dev mailing list