RFR: 8338690: CompactNumberInstance.format incorrectly formats some numbers (few vs many)

Naoto Sato naoto at openjdk.org
Thu Aug 22 16:20:34 UTC 2024


Fixing an issue wrt wrong plural suffix with compact format for some locales. It was retrieving the suffix based on the value before the rounding, which ended up in wrong plural expression.

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

Commit messages:
 - initial commit

Changes: https://git.openjdk.org/jdk/pull/20680/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20680&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8338690
  Stats: 112 lines in 3 files changed: 64 ins; 39 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/20680.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20680/head:pull/20680

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


More information about the core-libs-dev mailing list