IBM Support

IV50015: JAVA.BEANS.XMLENCODER.WRITEOBJECT API ADD THE EMPTY COLLECTION I N XML FILE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: When using XMLEncoder to encode a class instance
    which extends ArrayList or LinkedList and has a pair of
    getter/setter method, then the output XML differs between IBM
    and Oracle JDK if the getter method doesn't return a class field
    or null.
    .
    Stack Trace: N/A
    .
    N/A
    

Local fix

  • No
    

Problem summary

  • When the instance that extends ArrayList or LinkedList is
    encoded, the unused expression references of that instance is
    not deleted and got included into output  XML file.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR16
    6.0.1 SR8
    .
    The JDK has been updated to delete the unused expressions of the
    instances.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV50015

  • 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

    2013-09-25

  • Closed date

    2013-11-18

  • Last modified date

    2013-11-18

  • 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:
18 November 2013