-
Bug
-
Resolution: Unresolved
-
P3
-
None
-
17.0.5
This only affects jdk19u and below.
JDK-8283277 introduced the currency code SLE associated to Sierra Leone but the currency symbol should be Le.
Actual output:
$ java Test en SL
$ Locale: en_SL, Currency: SLE, Symbol: SLE
Expected output:
$ java Test en SL
$ Locale: en_SL, Currency: SLE, Symbol: Le
AfterJDK-8296239, the currency symbol for hr_HR should be the euro sign.
Actual output:
$ java Test hr HR
Locale: hr_HR, Currency: EUR, Symbol: EUR
Expected output:
$ java Test hr HR
Locale: hr_HR, Currency: EUR, Symbol: €
Tested with latest jdk17u-dev. This works as expected in later versions with CLDR upgraded to v42 (JDK-8284840).
Actual output:
$ java Test en SL
$ Locale: en_SL, Currency: SLE, Symbol: SLE
Expected output:
$ java Test en SL
$ Locale: en_SL, Currency: SLE, Symbol: Le
After
Actual output:
$ java Test hr HR
Locale: hr_HR, Currency: EUR, Symbol: EUR
Expected output:
$ java Test hr HR
Locale: hr_HR, Currency: EUR, Symbol: €
Tested with latest jdk17u-dev. This works as expected in later versions with CLDR upgraded to v42 (
- links to
-
Review openjdk/jdk17u-dev/1065