RFR: 8354522: Clones of DecimalFormat cause interferences when used concurrently [v6]

Johannes Graham duke at openjdk.org
Wed Apr 16 15:59:10 UTC 2025


On Tue, 15 Apr 2025 22:21:31 GMT, Johannes Graham <duke at openjdk.org> wrote:

>> The `DigitList` class used in `DecimalFormat` does not reset the `data` array in its clone method. This can cause interference when clones are used concurrently.
>
> Johannes Graham has updated the pull request incrementally with one additional commit since the last revision:
> 
>   break after mismatch

I've added a reflection-based test to see how it looks. We could go with either test, or both.

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

PR Comment: https://git.openjdk.org/jdk/pull/24598#issuecomment-2810025614


More information about the core-libs-dev mailing list