JDK-6620374 : [TEST] test/java/text/Format/Bug4845901.java failed when System timezone set to the East of America
Type:Bug
Component:core-libs
Sub-Component:java.util:i18n
Affected Version:5.0u14
Priority:P4
Status:Closed
Resolution:Fixed
OS:solaris
CPU:sparc
Submitted:2007-10-23
Updated:2012-10-01
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.
EVALUATION
In the regression test, the static SimpleDateFormat instance must be created after setting the default time zone to Australia/Sydney. SimpleDateFormat.parse tries the embedded time zone first. The static SimpleDateFormat has America/New_York which has "EST" as the abbreviation for the standard time.