RFR: 8354724: BufferedReader readAllLines and readString methods

Johannes Graham duke at openjdk.org
Thu Apr 17 17:32:57 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.

test/jdk/java/io/BufferedReader/ReadAll.java line 34:

> 32: 
> 33: import java.io.BufferedReader;
> 34: import java.io.File;

Cosmetic thought - I think this could all be done with Path, avoiding File and friends.

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

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


More information about the core-libs-dev mailing list