IBM Support

IZ78157: JAVA.UTIL.WEAKHASHMAP BEHAVE DIFFERENTLY FROM RI

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • The problem is actually caused by
    javax.swing.text.StyleContext$SmallAttributeSet.equals() method:
    set1.equals(set2) is true but set2.equals(set1) is false. This
    StyleContext$SmallAttributeSet.equals() method is unsymmetric
    which conflicts with Java Spec.
    More important, even with the above issue, customer's app works
    well on SUNJDK6 while behave differently on IBMJDK6 due to some
    behavior difference on the java.util.WeakHashMap class.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR9
    .
    We made a workaround to java.util.WeakHashMap class to keep the
    same behavior as RI to prevent such a issue to happen.
    .
    To obtain the fix:
    Install build 20100702 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ78157

  • 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

    2010-06-29

  • Closed date

    2010-07-01

  • Last modified date

    2012-01-06

  • 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 PSN

       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:
06 January 2012