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

Brian Burkhalter bpb at openjdk.org
Mon May 5 20:13:47 UTC 2025


On Fri, 2 May 2025 19:00:42 GMT, Stuart Marks <smarks at openjdk.org> wrote:

> I think it's still ambiguous. [...]

Without addressing the specific comments, I would simply like to point out that "as if" and "equivalent" is common phrasing in this area, e.g.,

- [File.toPath](https://docs.oracle.com/en/java/javase/24/docs/api/java.base/java/io/File.html#toPath())
- [Files.newBufferedReader](https://docs.oracle.com/en/java/javase/24/docs/api/java.base/java/nio/file/Files.html#newBufferedReader(java.nio.file.Path))
- etc.

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

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


More information about the core-libs-dev mailing list