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

Johannes Graham duke at openjdk.org
Tue Apr 15 14:58:40 UTC 2025


On Tue, 15 Apr 2025 14:43:56 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 two additional commits since the last revision:
> 
>  - fix test summary
>  - add test

I didn't notice any existing tests - I've added  a version of the reproducer.

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

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


More information about the core-libs-dev mailing list