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:05:54 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8354724: Address all PR comments to now
>
> src/java.base/share/classes/java/io/BufferedReader.java line 440:
>
>> 438: * Reads all characters into a string.
>> 439: *
>> 440: * <p> This method reads all content including the line separators in
>
> It would be more accurate to say that it reads the remaining content as there is may some reading done before this method is called (I realize this isn't the expected usage of this method but it has to allow for it).
Updated in b5d8266.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24728#discussion_r2049474932
More information about the core-libs-dev
mailing list