JDK-4290844 : WinNT: problem of default time zone
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 1.3.0
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1999-11-12
  • Updated: 1999-11-24
  • Resolved: 1999-11-24
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
1.3.0 kestrelFixed
Related Reports
Relates :  
Description
WinNT 4.0 Service Pack 3 (or earlier) only. Default time zone is always GMT, regardless of platfrom time zone setting. This is regression caused by fix of #4252829.

This regression only affects NT 4.0 and thoes with SP3 (or earlier).

koushi.takahashi@japan 1999-11-12

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: kestrel FIXED IN: kestrel INTEGRATED IN: kestrel
14-06-2004

WORK AROUND use -Djava.timezone=[desired timezone] to set default timezone or install latest Service Pack (4 or above) to NT. koushi.takahashi@japan 1999-11-12
12-11-1999

EVALUATION This regression only affects the platform that uses windows registory time zone MapID to find out java time zone. WinNT4.0 and that with SP3 use such way. koushi.takahashi@japan 1999-11-12 This actually happened only on Localized system. English(US) WinNT works correctly. koushi.takahashi@japan 1999-11-12
12-11-1999

SUGGESTED FIX *** /tmp/geta25168 Fri Nov 12 18:17:44 1999 --- TimeZone_md.c Fri Nov 12 18:17:43 1999 *************** *** 214,220 **** } fclose(fp); ! if ((lineBuff == NULL) && (defBuff[0] != '\0') && !found) { strcpy(javaTZName, defBuff); found = 1; } --- 214,220 ---- } fclose(fp); ! if ((defBuff[0] != '\0') && !found) { strcpy(javaTZName, defBuff); found = 1; } koushi.takahashi@japan 1999-11-12
12-11-1999