On Wed, 17 Jan 2024 14:21:22 GMT, Jim Laskey <jlas...@openjdk.org> wrote:

> The new repeat methods were not clearing the toStringCache.

This pull request has now been integrated.

Changeset: 60c68a13
Author:    Jim Laskey <jlas...@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

Reply via email to