Details
-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b03
-
generic
-
generic
Description
In CLDR 43, two new locales (`en_Dsrt.xml` and `en_Shaw.xml`) are added among others (https://github.com/unicode-org/cldr/pull/2508/files#diff-94cbefde02914335da884f768063a06a84ad651ee4e56cdb1cb90625d7776731). Those locales are incorrectly recognized as `base locale`s by CLDRConverter buildtool, thus they go into the `java.base` module and the test build/translations/VerifyTranslations.java fails with:
```
Unsupported translation found in lib/modules: java.base/sun/text/resources/cldr/FormatData_en_Dsrt.class
Unsupported translation found in lib/modules: java.base/sun/text/resources/cldr/FormatData_en_Shaw.class
Unsupported translation found in lib/modules: java.base/sun/util/resources/cldr/CurrencyNames_en_Dsrt.class
Unsupported translation found in lib/modules: java.base/sun/util/resources/cldr/LocaleNames_en_Dsrt.class
Unsupported translation found in lib/modules: java.base/sun/util/resources/cldr/TimeZoneNames_en_Dsrt.class
Unsupported translation found in lib/src.zip: java.base/sun/text/resources/cldr/FormatData_en_Dsrt.java
Unsupported translation found in lib/src.zip: java.base/sun/text/resources/cldr/FormatData_en_Shaw.java
Unsupported translation found in lib/src.zip: java.base/sun/util/resources/cldr/CurrencyNames_en_Dsrt.java
Unsupported translation found in lib/src.zip: java.base/sun/util/resources/cldr/LocaleNames_en_Dsrt.java
Unsupported translation found in lib/src.zip: java.base/sun/util/resources/cldr/TimeZoneNames_en_Dsrt.java
```
CLDRConverter tool needs to be corrected so that those resource bundles go into `jdk.localedata` module.
```
Unsupported translation found in lib/modules: java.base/sun/text/resources/cldr/FormatData_en_Dsrt.class
Unsupported translation found in lib/modules: java.base/sun/text/resources/cldr/FormatData_en_Shaw.class
Unsupported translation found in lib/modules: java.base/sun/util/resources/cldr/CurrencyNames_en_Dsrt.class
Unsupported translation found in lib/modules: java.base/sun/util/resources/cldr/LocaleNames_en_Dsrt.class
Unsupported translation found in lib/modules: java.base/sun/util/resources/cldr/TimeZoneNames_en_Dsrt.class
Unsupported translation found in lib/src.zip: java.base/sun/text/resources/cldr/FormatData_en_Dsrt.java
Unsupported translation found in lib/src.zip: java.base/sun/text/resources/cldr/FormatData_en_Shaw.java
Unsupported translation found in lib/src.zip: java.base/sun/util/resources/cldr/CurrencyNames_en_Dsrt.java
Unsupported translation found in lib/src.zip: java.base/sun/util/resources/cldr/LocaleNames_en_Dsrt.java
Unsupported translation found in lib/src.zip: java.base/sun/util/resources/cldr/TimeZoneNames_en_Dsrt.java
```
CLDRConverter tool needs to be corrected so that those resource bundles go into `jdk.localedata` module.
Attachments
Issue Links
- blocks
-
JDK-8296248 Update CLDR to Version 43.0
- Resolved