RFR: 8354724: BufferedReader readAllLines and readString methods
Alan Bateman
alanb at openjdk.org
Thu Apr 17 17:08:40 UTC 2025
On Thu, 17 Apr 2025 16:18:55 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Implement the requested methods and add a test thereof.
src/java.base/share/classes/java/io/BufferedReader.java line 440:
> 438: * Reads all characters into a string.
> 439: *
> 440: * <p> This method reads all content including the line separators in
It would be more accurate to say that it reads the remaining content as there is may some reading done before this method is called (I realize this isn't the expected usage of this method but it has to allow for it).
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24728#discussion_r2049352391
More information about the core-libs-dev
mailing list