RFR: 8354724: BufferedReader readAllLines and readString methods [v11]
Brian Burkhalter
bpb at openjdk.org
Tue Apr 22 22:21:47 UTC 2025
On Tue, 22 Apr 2025 16:53:30 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> src/java.base/share/classes/java/io/Reader.java line 426:
>>
>>> 424: */
>>> 425: public List<String> readAllLines() throws IOException {
>>> 426: return readAllChars().lines();
>>
>> I assume you are missing toList() here.
>
>> I assume you are missing toList() here.
>
> Yes, that was stupid. The `make jdk` caught it but I somehow missed the error message.
Fixed in 0600f93.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24728#discussion_r2054969039
More information about the core-libs-dev
mailing list