IBM Support

IV59946: HASHMAP.WRITEOBJECT() WRITES INCORRECT DATA TO THE STREAM

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: MarshalException when CORBA tries to deserialize
    a class that extends HashMap class with custom get/put/size
    calls. The problem may arise even if the class is deserialiazed
    through a custom deserialization class.
    .
    Stack Trace: N/A
    .
    

Local fix

  • Use default java.in.ObjectInputStream class for deserializing,
    if possible.
    

Problem summary

  • The problem arises due to duplication of the data held by the
    class extended by the HashMap while serializing its instance.
    Default ObjectInputStream deserializes the object without this
    extra data. But the problem may arise with any other
    ObjectInputStreams.
    

Problem conclusion

  • The code is fixed to avoid the duplication of data while
    serializing the stream.
    .
    This APAR will be fixed in the following Java Releases:
       6    SR16 FP1  (6.0.16.1)
       6 R1 SR8 FP1   (6.1.8.1)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, Java maintenance is available
    from:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV59946

  • 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

    2014-04-30

  • Closed date

    2014-06-23

  • Last modified date

    2014-06-25

  • 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:
25 June 2014