java.lang.ClassCastException: java.util.SimpleTimeZone cannot be cast to sun.util.calendar.ZoneInfo
Issue
-
We use a calendar object in an EJB and it fails to deserialize during activation of a passivated EJB.
-
We found the bug described in oracle bug tracker http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7017458
-
It was marked as back ported to Java 6 update 35: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8001312
-
We use 1.6.0_43 and the issue is still happening. Is this a JBoss issue?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.x
- 6.x
- Oracle Java JDK
- 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.