On Wed, 24 Sep 2025 17:37:59 GMT, Naoto Sato <[email protected]> wrote:

> Fixing `CompactNumberFormat.clone()` to clone mutable reference objects. The 
> bug was caused by accessing the shared objects concurrently which resulted in 
> an illegal state on parsing. There are other reference fields that are 
> shared, but the contents of those fields (such as prefix/suffix) are 
> constants/read-only, so they may be shared.

This pull request has now been integrated.

Changeset: bdf6853c
Author:    Naoto Sato <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/bdf6853cfdd24176bdddb59b6d7bb85036b94c57
Stats:     114 lines in 2 files changed: 106 ins; 0 del; 8 mod

8368328: CompactNumberFormat.clone does not produce independent instances

Reviewed-by: rgiulietti, jlu

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

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

Reply via email to