JDK-7009332 : TEST_BUG: test/closed/java/util/TimeZone/WinTZVM.sh fails at least on some machines
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-12-28
  • Updated: 2011-03-08
  • 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.

To download the current JDK release, click here.
JDK 7
7 b126Fixed
Related Reports
Relates :  
Description
closed/java/util/TimeZone/WinTZVM.sh fails with the following message:

UTC-02: FAILED: Expected GMT-0200, got GMT-02:00
Bangladesh Standard Time: passed: Asia/Dhaka
UTC-11: FAILED: Expected GMT-1100, got GMT-11:00
UTC+12: FAILED: Expected GMT+1200, got GMT+12:00

>>> passed: 97, failed: 3, skipped: 81 <<<

----------System.err:(6/438)----------
Exception in thread "main" java.lang.RuntimeException: FAILED: Expected GMT-0200, got GMT-02:00
	at DefaultIDCheck.main(DefaultIDCheck.java:21)
Exception in thread "main" java.lang.RuntimeException: FAILED: Expected GMT-1100, got GMT-11:00
	at DefaultIDCheck.main(DefaultIDCheck.java:21)
Exception in thread "main" java.lang.RuntimeException: FAILED: Expected GMT+1200, got GMT+12:00
	at DefaultIDCheck.main(DefaultIDCheck.java:21)
result: Failed. Execution failed: exit code 1

Comments
EVALUATION ":" is missing for the custom time zone names in golden data. Changed the test data validation program to detect any missing ":"s.
05-01-2011