TCKJapaneseChronology Tests failing for JapaneseChronology.dateYearDay

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: core-libs
    • 8
    • b91
    • generic
    • generic
    • Verified

      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.

            Assignee:
            Masayoshi Okutsu
            Reporter:
            Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: