<i18n dev> RFR: 8299439: java/text/Format/NumberFormat/CurrencyFormat.java fails for hr_HR

Naoto Sato naoto at openjdk.org
Tue Jan 3 17:56:53 UTC 2023


On Tue, 3 Jan 2023 17:40:42 GMT, Justin Lu <duke at openjdk.org> wrote:

> Regression caused by the fix to [JDK-8296239](https://bugs.openjdk.org/browse/JDK-8296239). The ISO 4217 Amendment 174 Update changes went into effect starting in 2023. 
> 
> _java/text/Format/NumberFormat/CurrencyFormat.java_ fails as _java/text/Format/NumberFormat/CurrencySymbols.properties_ did not have the proper change from the Amendment 174 update as well.
> 
> Swapping the outdated to **Kn** to **EUR** matches the Amendment 174 update, and fixes the failing test.

You could also clean-up older entries that use transition format, i.e., `lt_LT` and `lv_LV`.

test/jdk/java/text/Format/NumberFormat/CurrencySymbols.properties line 82:

> 80: hi_IN=\u0930\u0942
> 81: hr=\u00A4
> 82: hr_HR=EUR

Since this is a table for currency symbols, it has to be EURO SIGN ('\u20AC')

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

Changes requested by naoto (Reviewer).

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


More information about the i18n-dev mailing list