[jdk17u-dev] RFR: 8368328: CompactNumberFormat.clone does not produce independent instances

Johannes Graham jgraham at openjdk.org
Wed Nov 12 20:14:56 UTC 2025


On Tue, 11 Nov 2025 18:20:20 GMT, Roland Mesde <duke at openjdk.org> wrote:

> Backporting JDK-8368328: CompactNumberFormat.clone does not produce independent instances. Fixes clone method logic and adds a new test. Ran GHA Sanity Checks (passed) and new test (passed). Patch is clean.

It might be worth considering a backport of JDK-8354522 (Clones of DecimalFormat cause interferences when used) together with this. The fix for CompactNumberFormat.clone relies on  DecimalFormat.clone which also had issues before this other fix.

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/4168#issuecomment-3523724746


More information about the jdk-updates-dev mailing list