-
Bug
-
Resolution: Fixed
-
P3
-
11, 12, 13, 14
-
b28
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8226970 | 14 | Naoto Sato | P3 | Resolved | Fixed | b04 |
JDK-8228263 | 13.0.2 | Naoto Sato | P3 | Resolved | Fixed | b01 |
JDK-8228047 | 13.0.1 | Naoto Sato | P3 | Resolved | Fixed | master |
JDK-8228701 | 11.0.6-oracle | Naoto Sato | P3 | Resolved | Fixed | b01 |
JDK-8228841 | 11.0.5-oracle | Naoto Sato | P3 | Resolved | Fixed | b04 |
JDK-8227075 | 11.0.5 | Naoto Sato | P3 | Resolved | Fixed | b01 |
JDK-8227015 | 11.0.4 | Naoto Sato | P3 | Resolved | Fixed | b10 |
Exception in thread "main" java.lang.AssertionError
at java.base/sun.util.locale.provider.CalendarDataUtility$CalendarWeekParameterGetter.getObject(CalendarDataUtility.java:260)
at java.base/sun.util.locale.provider.CalendarDataUtility$CalendarWeekParameterGetter.getObject(CalendarDataUtility.java:236)
at java.base/sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObjectImpl(LocaleServiceProviderPool.java:281)
at java.base/sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObject(LocaleServiceProviderPool.java:262)
at java.base/sun.util.locale.provider.CalendarDataUtility.retrieveMinimalDaysInFirstWeek(CalendarDataUtility.java:85)
at java.base/java.util.Calendar.setWeekCountData(Calendar.java:3414)
at java.base/java.util.Calendar.<init>(Calendar.java:1611)
at java.base/java.util.GregorianCalendar.<init>(GregorianCalendar.java:738)
at java.base/java.util.Calendar$Builder.build(Calendar.java:1493)
at java.base/sun.util.locale.provider.HostLocaleProviderAdapterImpl$7.getInstance(HostLocaleProviderAdapterImpl.java:435)
at java.base/java.util.Calendar.createCalendar(Calendar.java:1696)
at java.base/java.util.Calendar.getInstance(Calendar.java:1660)
at java.base/java.text.SimpleDateFormat.initializeCalendar(SimpleDateFormat.java:676)
at java.base/java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:620)
at java.base/sun.util.locale.provider.HostLocaleProviderAdapterImpl$1.getDateInstance(HostLocaleProviderAdapterImpl.java:156)
at java.base/java.text.DateFormat.get(DateFormat.java:838)
at java.base/java.text.DateFormat.get(DateFormat.java:827)
at java.base/java.text.DateFormat.getDateInstance(DateFormat.java:566)
This will also be reproduced with test jdk/java/util/Locale/LocaleProvidersRun.java after
The reason is the fix for
This bails with the Windows implementation of CalendarDataProvider in sun/util/locale/provider/HostLocaleProviderAdapterImpl.java:
http://hg.openjdk.java.net/jdk/jdk/file/1761df20fa12/src/java.base/windows/classes/sun/util/locale/provider/HostLocaleProviderAdapterImpl.java#l368
I guess the fix would be to return some sensible value instead of 0 in there.
- backported by
-
JDK-8226970 Assertion in sun/util/locale/provider/CalendarDataUtility on Windows after JDK-8218960
- Resolved
-
JDK-8227015 Assertion in sun/util/locale/provider/CalendarDataUtility on Windows after JDK-8218960
- Resolved
-
JDK-8227075 Assertion in sun/util/locale/provider/CalendarDataUtility on Windows after JDK-8218960
- Resolved
-
JDK-8228047 Assertion in sun/util/locale/provider/CalendarDataUtility on Windows after JDK-8218960
- Resolved
-
JDK-8228263 Assertion in sun/util/locale/provider/CalendarDataUtility on Windows after JDK-8218960
- Resolved
-
JDK-8228701 Assertion in sun/util/locale/provider/CalendarDataUtility on Windows after JDK-8218960
- Resolved
-
JDK-8228841 Assertion in sun/util/locale/provider/CalendarDataUtility on Windows after JDK-8218960
- Resolved
- relates to
-
JDK-8218960 CONFIG level logging statements printed in CLDRCalendarDataProviderImpl.java even when default log Level is INFO
- Resolved
-
JDK-8226869 Test java/util/Locale/LocaleProvidersRun.java should enable assertions
- Resolved