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

(tz) JCK test api/java_util/TimeZone/index.html#getDisplayName: Fails on machines with GMT timezone

XMLWordPrintable

      api/java_util/TimeZone/index.html#getDisplayName fails on Windows XP home and Windows XP pro
      when the timezone is set to GMT with automatically adjust for 'day light savings changes' ticked.


      TimeZone2010: Failed. getDisplayName(daylight, style, locale) returns wrong result : BSTexpected = ISTtime zone = sun.util.calendar.ZoneInfo[id="Europe/London",offset=0,dstSavings=3600000,useDaylight=true,transitions=242,lastRule=java.util.SimpleTimeZone[id=Europe/London,offset=0,dstSavings=3600000,useDaylight=true,startYear=0,startMode=2,startMonth=2,startDay=-1,startDayOfWeek=1,startTime=3600000,startTimeMode=2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2]]daylight = truestyle = 0locale = lll_CCC_VVVdefault locale = en_IE


      Verified failure on 6u7 (jdk1.6.0_07b02)
                          6u6 fcs (jdk1.6.0_06b02)
                          6u5 rev (jdk1.6.0_05b16)
                          6u4 (jdk1.6.0_04b12)

            okutsu Masayoshi Okutsu
            ncunningorcl Niall Cunningham (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: