Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6337

[java6][classlib][text] DateFormatSymbols.setZoneStrings should throw IllegalArgumentException on short arrays

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 6.0M1
    • Classlib
    • None
    • all
    • Patch Available
    • Novice

    Description

      In the Java 6 api, DateFormatSymbols.setZoneStrings(String[][] newZoneStrings) should throw "IllegalArgumentException - if the length of any row in newZoneStrings is less than 5". Currently there's no check for this.

      Attachments

        1. 6337.patch
          6 kB
          Catherine Hope

        Activity

          People

            regis_xu Regis Xu
            chope Catherine Hope
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: