IBM Support

IV30925: JAVA GENERATES JAVA.LANG.ARRAYINDEXOUTOFBOUNDSEXCEPTION FOR VALI D ARRAY ACCESES

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: Java generates
    java.lang.ArrayIndexOutOfBoundsException even though an array
    access is perfectly valid. (i.e. no exception is generated under
    -Xint)
    .
    Stack Trace:
    .
    

Local fix

  • Adding the following option -Xjit:disableLookahead might resolve
    the problem.
    

Problem summary

  • Java generates java.lang.ArrayIndexOutOfBoundsException for a
    valid array access. The problem is caused when optimizing array
    accesses for final arrays, enumerators, etc.
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR4
    6.0.1 SR5
    .
    The JVM has been updated to to prevent the
    java.lang.ArrayIndexOutOfBoundsException from occurring
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV30925

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-29

  • Closed date

    2012-10-31

  • Last modified date

    2013-02-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

    JIT

  • Fixed component ID

    620700124

Applicable component levels

  • R260 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC9HBA","label":"Just In Time (JIT) Compiler"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"260","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
27 February 2013