[jdk22] Integrated: 8322512: StringBuffer.repeat does not work correctly after toString() was called

Jim Laskey jlaskey at openjdk.org
Wed Jan 17 20:04:58 UTC 2024


On Wed, 17 Jan 2024 14:21:22 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: 60c68a13
Author:    Jim Laskey <jlaskey at openjdk.org>
URL:       https://git.openjdk.org/jdk22/commit/60c68a13639fe79cc2510d551b8c1c7d7e1a02f3
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: prappo, redestad
Backport-of: df22fb322e6c4c9931a770bd0abf4c43b83c4e4a

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

PR: https://git.openjdk.org/jdk22/pull/87


More information about the core-libs-dev mailing list