-
Enhancement
-
Resolution: Cannot Reproduce
-
P4
-
8
-
Any platform that supports Java 8.
-
b56
-
b66
Run the attached test program, CalendarTest.java. The program tries to load the SHORT_STANDALONE display name of weekday.
When adapter list is JRE,CLDR, the short display name in CLDR is loaded. I check the resource files in JDK. Format_zh_CN.class and Format_zh.class are in JRE resources. In CLDR resource, there is only Format_zh.class. There is also no standalone.DayAbbreviations in all these files. The expected output should be from JRE adapter, when adapter list is JRE,CLDR.
This problem only happens in zh_CN. In other locales I checked (en_US, de_DE and ja_JP), the short display name is loaded from resource file in JRE when adapter list is JRE,CLDR. Attached is the screenshot of the output.
When adapter list is JRE,CLDR, the short display name in CLDR is loaded. I check the resource files in JDK. Format_zh_CN.class and Format_zh.class are in JRE resources. In CLDR resource, there is only Format_zh.class. There is also no standalone.DayAbbreviations in all these files. The expected output should be from JRE adapter, when adapter list is JRE,CLDR.
This problem only happens in zh_CN. In other locales I checked (en_US, de_DE and ja_JP), the short display name is loaded from resource file in JRE when adapter list is JRE,CLDR. Attached is the screenshot of the output.
- relates to
-
JDK-8000986 Split java.util.spi.CalendarDataProvider into week parameters and field names portions
-
- Resolved
-
Calendar [zh_CN]: Locale falls back to CLDR adapter first when -Djava.locale.providers=JRE,CLDR
-
Enhancement
-
Resolution: Cannot Reproduce
-
P4
-
8
-
Any platform that supports Java 8.
-
b56
-
b66
Run the attached test program, CalendarTest.java. The program tries to load the SHORT_STANDALONE display name of weekday.
When adapter list is JRE,CLDR, the short display name in CLDR is loaded. I check the resource files in JDK. Format_zh_CN.class and Format_zh.class are in JRE resources. In CLDR resource, there is only Format_zh.class. There is also no standalone.DayAbbreviations in all these files. The expected output should be from JRE adapter, when adapter list is JRE,CLDR.
This problem only happens in zh_CN. In other locales I checked (en_US, de_DE and ja_JP), the short display name is loaded from resource file in JRE when adapter list is JRE,CLDR. Attached is the screenshot of the output.
When adapter list is JRE,CLDR, the short display name in CLDR is loaded. I check the resource files in JDK. Format_zh_CN.class and Format_zh.class are in JRE resources. In CLDR resource, there is only Format_zh.class. There is also no standalone.DayAbbreviations in all these files. The expected output should be from JRE adapter, when adapter list is JRE,CLDR.
This problem only happens in zh_CN. In other locales I checked (en_US, de_DE and ja_JP), the short display name is loaded from resource file in JRE when adapter list is JRE,CLDR. Attached is the screenshot of the output.
- relates to
-
JDK-8000986 Split java.util.spi.CalendarDataProvider into week parameters and field names portions
-
- Resolved
-