A couple of JapaneseDate tests are failing due to exceptions creating dates of JapaneseChronology.dateYearDay.
tck.java.time.chrono.TCKJapaneseChronology.test_fromCalendrical
tck.java.time.chrono.TCKJapaneseChronology.test_toLocalDate
(Full .jtr file is attached).
A sample stack trace is:
Caused by: java.time.DateTimeException: Invalid parameters
at java.time.chrono.JapaneseDate.ofYearDay(JapaneseDate.java:245)
at java.time.chrono.JapaneseChronology.dateYearDay(JapaneseChronology.java:200)
at tck.java.time.chrono.TCKJapaneseChronology.data_samples(TCKJapaneseChronology.java:196)
The attached simple main program exhibits the same failure with different dates.
tck.java.time.chrono.TCKJapaneseChronology.test_fromCalendrical
tck.java.time.chrono.TCKJapaneseChronology.test_toLocalDate
(Full .jtr file is attached).
A sample stack trace is:
Caused by: java.time.DateTimeException: Invalid parameters
at java.time.chrono.JapaneseDate.ofYearDay(JapaneseDate.java:245)
at java.time.chrono.JapaneseChronology.dateYearDay(JapaneseChronology.java:200)
at tck.java.time.chrono.TCKJapaneseChronology.data_samples(TCKJapaneseChronology.java:196)
The attached simple main program exhibits the same failure with different dates.
- relates to
-
JDK-8013730 CCC request to Update the OpenJDK Threeten Project in SE 8
- Closed