Integrated: JDK-8322512 StringBuffer.repeat does not work correctly after toString() was called

Jim Laskey jlaskey at openjdk.org
Thu Jan 4 12:49:49 UTC 2024


On Wed, 20 Dec 2023 20:25:07 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:

> The new repeat methods were not clearing the toStringCache.

This pull request has now been integrated.

Changeset: df22fb32
Author:    Jim Laskey <jlaskey at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/df22fb322e6c4c9931a770bd0abf4c43b83c4e4a
Stats:     16 lines in 2 files changed: 15 ins; 0 del; 1 mod

8322512: StringBuffer.repeat does not work correctly after toString() was called

Reviewed-by: rriggs, jpai

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

PR: https://git.openjdk.org/jdk/pull/17172


More information about the core-libs-dev mailing list