RFR: 8354724: BufferedReader readAllLines and readString methods [v2]

Brian Burkhalter bpb at openjdk.org
Thu Apr 17 18:45:14 UTC 2025


On Thu, 17 Apr 2025 17:30:06 GMT, Johannes Graham <duke at openjdk.org> wrote:

>> 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.
>
> possibly even using Reader.of(CharSequence)

Test modified in b5d8266.

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

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


More information about the core-libs-dev mailing list