IBM Support

IV26348: MULTITHREADED MARSHALLING TEST ON CALENDAR CLASS LEADS TO CLASSC ASTEXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Mulithreaded marshalling tests of
    java.util.GregorianCalendar class leads to ClassCastException
    .
    Stack Trace: Exception in thread "Thread-39"
    java.lang.ClassCastException: java.util.SimpleTimeZone
    incompatible with sun.util.calendar.ZoneInfo
     at java.util.Calendar$1.run(Calendar.java:2664)
     at java.util.Calendar$1.run(Calendar.java:2662)
     at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:288)
     at java.util.Calendar.readObject(Calendar.java:2661)
     at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
     at java.lang.reflect.Method.invoke(Method.java:611)
     at
    java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.jav
    a:1044)
     at
    java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:
    1866)
     at
    java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.j
    ava:1770)
     at
    java.io.ObjectInputStream.readObject0(ObjectInputStream.java:134
    6)
     at
    java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
     at
    sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:318)
     at
    sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:3
    07)
     at sun.rmi.transport.Transport$1.run(Transport.java:171)
     at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:288)
     at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
     at
    sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.j
    ava:547)
     at
    sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTra
    nsport.java:802)
     at
    sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTran
    sport.java:661)
     at
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoo
    lExecutor.java:897)
     at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe
    cutor.java:919)
     at java.lang.Thread.run(Thread.java:737)
     at
    sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(S
    treamRemoteCall.java:267)
     at
    sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.
    java:245)
     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:154)
     at
    MyRemoteRMIImpl_Stub.echoObject(MyRemoteRMIImpl_Stub.java:32)
     at MyRMIClient$Load.echoTest(MyRMIClient.java:68)
     at MyRMIClient$Load.run(MyRMIClient.java:56)
     at java.lang.Thread.run(Thread.java:737)
    .
    

Local fix

  • N/A
    

Problem summary

  • The problem was caused because the de-serialization of Calendar
    class wasn't thread safe.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR12
    7.0.0 SR3
    6.0.1 SR4
    .
    The JDK has been updated to make the de-serialization of
    Calendar class to be synchronized to prevent this problem.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV26348

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-16

  • Closed date

    2012-08-24

  • Last modified date

    2012-11-11

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
11 November 2012