On Wed, 24 Sep 2025 23:07:54 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.
>
> Naoto Sato has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Fixing test comment

I think it would be useful to add a comment to each individual field that is a 
"read-only constant after initialization". This would make the intent explicit.

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

PR Comment: https://git.openjdk.org/jdk/pull/27475#issuecomment-3333318630

Reply via email to