JDK-4401337 : There is a convering bug from TimeZone to SimpleTimeZone in merlin b46
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_8
  • CPU: sparc
  • Submitted: 2001-01-03
  • Updated: 2001-01-04
  • Resolved: 2001-01-03
Related Reports
Duplicate :  
Description
hercule.li@prc 2001-01-03

java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b46)
Java HotSpot(TM) Client VM (build 1.4beta-B45, mixed mode)

When converting from TimeZone to SimpleTimeZone in merlin b46,
the exception message like below flash out,

  >>Exception in thread "main" java.lang.ClassCastException: 
  >>sun.util.calendar.ZoneInfo
  
This bug exists in solaris , IA solairs and win2000,
perhaps it is a generic bug.

There is NO bug in merlin b44 and ladybird b12.

Run attached file to reproduce this bug.

----- end of hercule.li@prc 2001-01-03