[jdk17u-dev] RFR: 8300106: Currency.getSymbol(Locale) returns incorrect symbol for en_SL and hr_HR

Dmitry Cherepanov dcherepanov at openjdk.org
Fri Jan 13 09:48:55 UTC 2023


This issue isn't applicable to JDK versions with CLDR upgraded to v42 (JDK-8284840).

Backport of some changes from CLDR v42
 - changes in en_SL.xml that replaces "SSL->Le" entry with "SLE->Le" entry. This resolves the regression after JDK-8283277 that changed  the currency code from SLL to SLE.
 - changes in hr.xml that replaces the EUR symbol with the euro sign

The test attached to the bug report fails without the patch and passes with the patch.

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

Commit messages:
 - 8300106: Currency.getSymbol(Locale) returns incorrect symbol for en_SL and hr_HR

Changes: https://git.openjdk.org/jdk17u-dev/pull/1065/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1065&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8300106
  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/1065.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev pull/1065/head:pull/1065

PR: https://git.openjdk.org/jdk17u-dev/pull/1065


More information about the jdk-updates-dev mailing list