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

ZoneInfoFile doesn't honor future GMT offset changes

XMLWordPrintable

    • b119
    • generic
    • generic

      The ZoneInfoFile class doesn't analyse if there is any GMT offset changes in
      future. Currently, the 'getZoneInfo' method always creates the ZoneInfo with
      willGMTOffsetChange equals to false.
      This causes sun/util/calendar/zi/TestZoneInfo310.java test failure with new 2013h [1] timezone data :
      America/Eirunepe : America/Eirunepe
          offset=-18000000,dstSavings=0,useDaylight=false,transitions=35,offsets=4,checksum=-1671726781,gmtChanged=false
      [NG]offset=-18000000,dstSavings=0,useDaylight=false,transitions=35,offsets=4,checksum=-1671726781,gmtChanged=true
      ----------System.err:(13/744)----------
      java.lang.RuntimeException: FAILED: America/Eirunepe

      [1] JDK-8027370

            aefimov Aleksej Efimov
            aefimov Aleksej Efimov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: