IBM Support

IJ12196: ARRAYINDEXOUTOFBOUNDS EXCEPTION OR OTHER SYMPTOMS

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: An unexpected ArrayIndexOutOfBounds Exception is
    thrown.
    .
    Stack Trace: One possible stack trace is:
    java/math/BigDecimal.powerOfTenBI
    java/math/BigDecimal.slPrecisionDivide
    java/math/BigDecimal.divide
    .
    This problem is specific to the IBM Z 31bit JDK. This problem
    was exposed in Java 8 SR5 FP25.
    

Local fix

  • The problem can be avoided using the following command line
    option
    -Xjit:disableLongRegAllocation
    

Problem summary

  • The 31bit code generator on IBM Z has been improved to use 64bit
    registers for 64bit values. These 64bit values were not being
    handled in a consistent way for some code paths with respect to
    mapping variables to registers and stack slots. As a result,
    various problems can occur with a 64bit variable including loss
    of the high or low 32bits, or getting garbage (including zero)
    in the low or high half. In the known case, the low half of a
    Java long is lost resulting in it being zero leading to an
    ArrayIndexOutOfBounds Exception which should not happen.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IJ12196

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-12-17

  • Closed date

    2018-12-17

  • Last modified date

    2018-12-17

  • 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

[{"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":"130","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
17 December 2018