APAR status
Closed as program error.
Error description
Error Message: A NullPointerException is thrown and the java.lang.String.indexOf API appears close to the top of the stack backtrace. . Stack Trace: java.lang.NullPointerException at com.ibm.jit.JITHelpers.intrinsicIndexOfStringUTF16(JITHelpers.ja va:605) at java.lang.String.indexOf(String.java:2169) . This issue only happens when a very large offset is passed to the String.indexOf API, for example Integer.MAX_VALUE - 1.
Local fix
This issue can be worked around by passing in a smaller offset value or via the -Xjit:disableRecognizedMethods JVM option. Note however that using the -Xjit option may degrade performance.
Problem summary
The JCL code had an overflow scenario when large values are passed through the offset argument.
Problem conclusion
The JCL code has been fixed to prevent the overflow. See https://github.com/eclipse/openj9/pull/6403 . This APAR will be fixed in the following Java Releases: 8 SR5 FP41 (8.0.5.41) . 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
IJ17563
Reported component name
JIT
Reported component ID
620700124
Reported release
130
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2019-07-11
Closed date
2019-07-11
Last modified date
2019-07-11
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
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:
11 July 2019
