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

Rémi Forax forax at openjdk.org
Fri May 2 19:40:49 UTC 2025


On Wed, 23 Apr 2025 22:04:25 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: Fix readAllChars gaffe in Reader returned by Readed.of and account for it in test

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

> 80:     @AfterAll
> 81:     public static void cleanup() throws IOException {
> 82:         file.delete();

If the call to createTempFile() above fails with an exception, file will be null

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

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


More information about the core-libs-dev mailing list