JDK-6461417 : (tz) [Vista build 5487/5520] automatically adjust daylight time function is not working on Vista
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2006-08-18
  • Updated: 2011-03-08
  • Resolved: 2011-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other Other JDK 6 JDK 7
1.4.2_19-revFixed 1.4.2_20Fixed 6u2Fixed 7 b08Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
build: JDK6 b95
OS: Windows Vista 32 bit, build 5487 and 5520
host: i18n-gw65002-2
Test: test/java/util/TimeZone/DisableDSTTest.java

To reproduce:
1. Run jtreg with DisableDSTTest.java
2. when "Automatically adjust clock for daylight saving changes" is unchecked on the the local time still shows as daylight saving time; while on a Windows XP the local time shows as standard time as expected.

The test worked fine on a Windows vista 64bit, ja version, build 5456.

The behaviors between b91 and b92(and up) are a little different:
starting from b92 and up to b95, it doesn't show any difference on the test whether "Automatically adjust clock for daylight saving changes" is checked or not, it always shows the daylight saving time.
While for b91, when it is unchecked, the time on test shows as "Greenwich" time, it shows correct time when "Automatically adjust clock for daylight saving changes" is checked.

Comments
EVALUATION TimeZoneInformation registry has changed. DaylightBias has the same value regardless of the auto adjustment setting. Instead, there's the DynamicDaylightTimeDisabled flag. This flag is the same thing as the DisableAutoDaylightTimeSet flag in the earlier Windows (NT, 2000, XP, etc.).
19-08-2006