RFR: 8358533: Improve performance of java.io.Reader.readAllLines [v3]

Brian Burkhalter bpb at openjdk.org
Tue Jun 24 18:55:38 UTC 2025


On Thu, 19 Jun 2025 10:59:14 GMT, Markus KARG <duke at openjdk.org> wrote:

> Is there a reason for `sb.length() == 0` instead of `sb.isEmpty()`?

The former is identical. Modified to use `isEmpty` in 8ccfd54.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25863#discussion_r2164686620


More information about the core-libs-dev mailing list