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

TCKJapaneseChronology Tests failing for JapaneseChronology.dateYearDay

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs
    • 8
    • b91
    • generic
    • generic
    • Verified

    Description

      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.

      Attachments

        1. CopticChronology.jtr
          7 kB
          Roger Riggs
        2. T.java
          0.3 kB
          Roger Riggs

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: