IBM Support

IJ04248: ARRAYINDEXOUTOFBOUNDSEXCEPTION IS THROWN WHEN CONVERTING BIGDECIMAL TO STRING

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 ArrayIndexOutOfBoundsException is thrown when
    attempting to convert a BigDecimal to a String.
    .
    Stack Trace: Throwable trace:
    java.lang.ArrayIndexOutOfBoundsException
    at java.math.BigInteger.smallToString
    at java.math.BigInteger.toString
    at java.math.BigInteger.toString
    .
    This issue only happens on z Systems when the JIT is enabled and
    the specific path is exercised frequently.
    

Local fix

  • This issue can be worked around using the -Xjit:disableGRA
    option. Note however that using this option will degrade
    performance.
    

Problem summary

  • The problem is caused by incorrect handling of sign and zero
    load extension optimizations in the JIT compiler.
    

Problem conclusion

  • The JIT compiler has been updated to correct the handling of
    load extensions.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR5 FP10  (8.0.5.10)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ04248

  • 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-02-19

  • Closed date

    2018-02-19

  • Last modified date

    2018-02-19

  • 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:
19 February 2018