-
Bug
-
Resolution: Duplicate
-
P1
-
None
-
6u7
-
generic
-
windows_xp
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)
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)
- duplicates
-
JDK-6638110 (tz) TimeZone.getDisplayName(...) spec is inconsistent with implementation for unavailable locales
-
- Closed
-