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

Naoto Sato naoto at openjdk.org
Tue Aug 27 15:37:08 UTC 2024


On Thu, 22 Aug 2024 16:14:08 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: fa4ff78b
Author:    Naoto Sato <naoto at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/fa4ff78bd4ed029120717142eec6fb6352cb8e79
Stats:     112 lines in 3 files changed: 64 ins; 39 del; 9 mod

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

Reviewed-by: joehw, rriggs, jlu

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

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


More information about the core-libs-dev mailing list