On Thu, 17 Apr 2025 23:07:35 GMT, Brian Burkhalter <b...@openjdk.org> wrote:

>> Implement the requested methods and add a test thereof.
>
> Brian Burkhalter has updated the pull request incrementally with two 
> additional commits since the last revision:
> 
>  - 8354724: Increment copyright year in Reader
>  - 8354724: Move readString from BufferedReader to Reader

transferTo reads to EOS, readString and readAllLines reads to EOS too. As 
Reader is specified to not support a mark in the base class then I don't think 
it would be too bad to have Reader define a method to read the remaining 
characters as a sequence of lines. BufferedReader would then adding buffer, and 
methods that rely on buffering.

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

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

Reply via email to