IBM Support

IV72648: NPE AND AIOB IN ORG.ECLIPSE.JDT TEST

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.lang.NullPointerException and
    java.lang.ArrayIndexOutOfBoundsException in eclipse test
    .
    Stack Trace: java.lang.ArrayIndexOutOfBoundsExceptionat
    org.eclipse.jdt.internal.compiler.lookup.LocalVariableBinding.re
    cordInitializationEndPC(LocalVariableBinding.java:194)at
    org.eclipse.jdt.internal.compiler.ClassFile.initializeDefaultLoc
    als(ClassFile.java:5086)at
    org.eclipse.jdt.internal.compiler.ClassFile.traverse(ClassFile.j
    ava:5344)at
    org.eclipse.jdt.internal.compiler.ClassFile.generateStackMapTabl
    eAttribute(ClassFile.java:4303)at
    org.eclipse.jdt.internal.compiler.ClassFile.completeCodeAttribut
    e(ClassFile.java:1378)at
    org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.
    generateCode(AbstractMethodDeclaration.java:338)at
    org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.
    generateCode(AbstractMethodDeclaration.java:270)at
    org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCo
    de(TypeDeclaration.java:566)at
    org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCo
    de(TypeDeclaration.java:635)at
    org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration
    .generateCode(CompilationUnitDeclaration.java:368)at
    org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java
    :781)at
    org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(Process
    TaskManager.java:137)java.lang.NullPointerExceptionat
    org.eclipse.jdt.internal.compiler.lookup.LocalVariableBinding.re
    cordInitializationEndPC(LocalVariableBinding.java:194)at
    org.eclipse.jdt.internal.compiler.ClassFile.initializeDefaultLoc
    als(ClassFile.java:5086)at
    org.eclipse.jdt.internal.compiler.ClassFile.traverse(ClassFile.j
    ava:5344)at
    org.eclipse.jdt.internal.compiler.ClassFile.generateStackMapTabl
    eAttribute(ClassFile.java:4303)at
    org.eclipse.jdt.internal.compiler.ClassFile.completeCodeAttribut
    e(ClassFile.java:1378)at
    org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.
    generateCode(AbstractMethodDeclaration.java:338)at
    org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.
    generateCode(AbstractMethodDeclaration.java:270)at
    org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCo
    de(TypeDeclaration.java:566)at
    org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCo
    de(TypeDeclaration.java:635)at
    org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration
    .generateCode(CompilationUnitDeclaration.java:368)at
    org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java
    :781)at
    org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(Process
    TaskManager.java:137)at java.lang.Thread.run(Thread.java:785)
    .
    

Local fix

  • Disable PRE optimization in JIT.-Xjit:disablePRE
    

Problem summary

  • This is a JIT optimization issue. Caused by PRE optimization.
    

Problem conclusion

  • JIT PRE skip optimizing node for shadow reference requires
    spinecheck for NPE.JIT PRE more conservatively fix kill set for
    AIOB issue.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR -      (8.0.-.0)
       7 R1 SR3       (7.1.3.0)
       6 R1 SR10      (6.1.10.0)
       7    SR9       (7.0.9.0)
    .
    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

    IV72648

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-23

  • Closed date

    2015-04-23

  • Last modified date

    2015-04-23

  • 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

  • R130 PSY

       UP

  • R260 PSY

       UP



Document information

More support for: Runtimes for Java Technology
Just In Time (JIT) Compiler

Software version: 130

Reference #: IV72648

Modified date: 23 April 2015