-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
5.0
-
x86
-
windows_2000
FULL PRODUCT VERSION :
Version: 1.5.0_10.
Build: 1.5.0_10-b03
ADDITIONAL OS VERSION INFORMATION :
Windows 2000 / XP
EXTRA RELEVANT SYSTEM CONFIGURATION :
The station syncronize the clock with the Novel LDAP Server.
A DESCRIPTION OF THE PROBLEM :
My application display an incorrect TimeZone information, difering from OS. The windows time/date applet shows (GMT-03:00) Brasília, when the java application runs its shows (Greenwich Mean Time). What's happening?
Some machines display the problem other machines the problem dowesn´t occurs.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Execute the above source code, with Brasília time zone DST turned on and turned off.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The result should be the time same with the windows clock and the timezone same with the windows.
ACTUAL -
Actual, the time zone on windows is (GMT-03:00)Brasília and on java application is Greenwich Mean Time and the time is differing +3:00 from thw windows clock.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
No erro message.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public class Teste{
public static void main (String args[]){
System.out.println (TimeZone.getDefault().getDisplayName());
System.out.println (new Date());
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
I'm trying alter the following windows register key:
1 - [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\E. South America Standard Time]
2 - [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\E. South America Standard Time\Dynamic DST]
3 - [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
Version: 1.5.0_10.
Build: 1.5.0_10-b03
ADDITIONAL OS VERSION INFORMATION :
Windows 2000 / XP
EXTRA RELEVANT SYSTEM CONFIGURATION :
The station syncronize the clock with the Novel LDAP Server.
A DESCRIPTION OF THE PROBLEM :
My application display an incorrect TimeZone information, difering from OS. The windows time/date applet shows (GMT-03:00) Brasília, when the java application runs its shows (Greenwich Mean Time). What's happening?
Some machines display the problem other machines the problem dowesn´t occurs.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Execute the above source code, with Brasília time zone DST turned on and turned off.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The result should be the time same with the windows clock and the timezone same with the windows.
ACTUAL -
Actual, the time zone on windows is (GMT-03:00)Brasília and on java application is Greenwich Mean Time and the time is differing +3:00 from thw windows clock.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
No erro message.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public class Teste{
public static void main (String args[]){
System.out.println (TimeZone.getDefault().getDisplayName());
System.out.println (new Date());
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
I'm trying alter the following windows register key:
1 - [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\E. South America Standard Time]
2 - [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\E. South America Standard Time\Dynamic DST]
3 - [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]