[jdk22] RFR: 8322512: StringBuffer.repeat does not work correctly after toString() was called
Jim Laskey
jlaskey at openjdk.org
Wed Jan 17 14:28:20 UTC 2024
The new repeat methods were not clearing the toStringCache.
-------------
Commit messages:
- Backport df22fb322e6c4c9931a770bd0abf4c43b83c4e4a
Changes: https://git.openjdk.org/jdk22/pull/87/files
Webrev: https://webrevs.openjdk.org/?repo=jdk22&pr=87&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8322512
Stats: 16 lines in 2 files changed: 15 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk22/pull/87.diff
Fetch: git fetch https://git.openjdk.org/jdk22.git pull/87/head:pull/87
PR: https://git.openjdk.org/jdk22/pull/87
More information about the core-libs-dev
mailing list