<i18n dev> RFR: 8282929: Localized monetary symbols are not reflected in `toLocalizedPattern` return value

Naoto Sato naoto at openjdk.java.net
Fri Mar 11 20:48:17 UTC 2022


`DecimalFormat.toLocalizedPattern()` was not honoring the monetary decimal/grouping separator symbols. Fix is straightforward to use the correct symbols depending on the formatter type.

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

Commit messages:
 - 8282929: Localized monetary symbols are not reflected in `toLocalizedPattern` return value

Changes: https://git.openjdk.java.net/jdk/pull/7790/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7790&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8282929
  Stats: 70 lines in 2 files changed: 65 ins; 0 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7790.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7790/head:pull/7790

PR: https://git.openjdk.java.net/jdk/pull/7790


More information about the i18n-dev mailing list