JDK-4472743 : regression: EXCEPTION_ACCESS_VIOLATION in TimeZone.getSystemTimeZoneID() on W2k
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 1.4.0
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_98,windows_2000
  • CPU: x86
  • Submitted: 2001-06-21
  • Updated: 2001-09-27
  • Resolved: 2001-09-27
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.4.0 beta2Fixed
Related Reports
Relates :  
Description
The JVM (Merlin beta-refesh b69) crashes during the start of Forte for Java 3.0 in the java.util.TimeZone.getSystemTimeZoneID call on Windows 2000 (full stack-trace attached).

After some experiments it seems that the only problematic time zone is
(GMT +1:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague

Other time zones, e.g.
(GMT +1:00) Brussels, Copenhagen, Madrid, Paris
seem to be ok.

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

EVALUATION Time zone detection code uses the user.region property value (not always, depending on zones where a mapID is shared). (mapID stored in Win32 "Time Zones" registries is a value to identify a location.) The 4152725 fix changed "user.region" to "user.country". So, in the detection code, it refers to addr 0 pointed to by a null pointer. masayoshi.okutsu@Eng 2001-06-22 There were a number of other places where "region" hadn't been consistently been renamed to "country". These were fixed along with the regression. norbert.lindenberg@Eng 2001-06-27
22-06-2001

WORK AROUND The user can set a different time zone. -- Define "user.region" for your locale. For example, $ java -Duser.region=JP ... will work for Japan. masayoshi.okutsu@Eng 2001-06-22
22-06-2001