Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8013901

TCKJapaneseChronology Tests failing for JapaneseChronology.dateYearDay

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • 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.

            okutsu Masayoshi Okutsu
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: