JDK-8154853 : java/util/TimeZone/OldIDMappingTest.sh fails after JDK-8154231
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-04-21
  • Updated: 2017-06-09
  • Resolved: 2016-04-21
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 9
9 b116Fixed
Related Reports
Relates :  
Description
java/util/TimeZone/OldIDMappingTest.sh fails after JDK-8154231.

----------System.err:(12/1137)----------
Exception in thread "main" java.lang.RuntimeException: OLDMAP: sun.timezone.ids.oldmapping=true: EST isn't an alias of America/New_York
	at OldIDMappingTest.main(OldIDMappingTest.java:66)
Exception in thread "main" java.lang.RuntimeException: OLDMAP: sun.timezone.ids.oldmapping=True: EST isn't an alias of America/New_York
	at OldIDMappingTest.main(OldIDMappingTest.java:66)
Exception in thread "main" java.lang.RuntimeException: OLDMAP: sun.timezone.ids.oldmapping=TRUE: EST isn't an alias of America/New_York
	at OldIDMappingTest.main(OldIDMappingTest.java:66)
Exception in thread "main" java.lang.RuntimeException: OLDMAP: sun.timezone.ids.oldmapping=yes: EST isn't an alias of America/New_York
	at OldIDMappingTest.main(OldIDMappingTest.java:66)
Exception in thread "main" java.lang.RuntimeException: OLDMAP: sun.timezone.ids.oldmapping=Yes: EST isn't an alias of America/New_York
	at OldIDMappingTest.main(OldIDMappingTest.java:66)
Exception in thread "main" java.lang.RuntimeException: OLDMAP: sun.timezone.ids.oldmapping=YES: EST isn't an alias of America/New_York
	at OldIDMappingTest.main(OldIDMappingTest.java:66)

Comments
Cause identified: the load(dis) call in the static initializer depends on USE_OLDMAPPING being initialized, so this needs to be separate (as before).
21-04-2016