United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6461417 (tz) [Vista build 5487/5520] automatically adjust daylight time function is not working on Vista
JDK-6461417 : (tz) [Vista build 5487/5520] automatically adjust daylight time function is not working on Vista

Details
Type:
Bug
Submit Date:
2006-08-18
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
core-libs
OS:
windows_vista
Sub-Component:
java.util:i18n
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Backport:
Backport:
Backport:
Backport:
Duplicate:
Duplicate:
Relates:

Sub Tasks

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.).
                                     
2006-08-19



Hardware and Software, Engineered to Work Together