IBM Support

IZ91982: ARRAYINDEXOUTOFBOUNDSEXCEPTION THROWN FROM HUGEENUMSET.COMPLEMEN T

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message:
    When the number of elements in a enum is more than 64, customer
    may get following exception if they called
    EnumSet.allOf(EnumClass.class)
    java.lang.ArrayIndexOutOfBoundsException:
    Array index out of range: 2
     at java.util.HugeEnumSet.complement(HugeEnumSet.java:173)
     at java.util.EnumSet.allOf(EnumSet.java:63)
     at EnumTest.main(EnumTest.java:533)
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • ArrayIndexOutOfBoundsException thrown from
    HugeEnumSet.complement
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR10
    .
    Exception in thread "main"
    java.lang.ArrayIndexOutOfBoundsException:
    Array index out of range: 2
     at java.util.HugeEnumSet.complement(HugeEnumSet.java:173)
    ....
    
    To obtain the fix:
    Install build 20110128 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ91982

  • 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

    2011-01-12

  • Closed date

    2011-02-25

  • Last modified date

    2011-08-27

  • 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:
27 August 2011