Integrated: 8354522: Clones of DecimalFormat cause interferences when used concurrently

Johannes Graham duke at openjdk.org
Thu Apr 17 16:24:53 UTC 2025


On Fri, 11 Apr 2025 17:31:08 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.

This pull request has now been integrated.

Changeset: 04c32fc0
Author:    Johannes Graham <j3graham at gmail.com>
Committer: Naoto Sato <naoto at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/04c32fc08a67eaf6d3f47a0f9ea3d620b7ec6a07
Stats:     174 lines in 2 files changed: 173 ins; 0 del; 1 mod

8354522: Clones of DecimalFormat cause interferences when used concurrently

Reviewed-by: jlu, naoto

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

PR: https://git.openjdk.org/jdk/pull/24598


More information about the core-libs-dev mailing list