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

Pavel Rappo prappo at openjdk.org
Wed Jan 17 14:30:53 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.

Seems like a clean backport of a P3 bug from mainline to jdk 22, just in time before RDP 2.

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

Marked as reviewed by prappo (Reviewer).

PR Review: https://git.openjdk.org/jdk22/pull/87#pullrequestreview-1827429912


More information about the core-libs-dev mailing list