IBM Support

IV68110: JAVA 7 MULTI-TYPE EXCEPTION CATCH FAILS TO EXECUTE THE FINALLY B LOCK

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: In a JIT-compiled Java method, a finally block is
    not executed when:
    
    1. A multi-type catch block is used to catch more than one type
    of exceptions.
    
    2. An exception is thrown from the try block that matches
    anything but the first type in the multi-type catch.
    
    3. An exception is thrown from the catch block. It can be a new
    exception, or the caught (re-thrown) exception.
    
    Stack Trace: N/A
    .
    

Local fix

  • The issue can be avoided by rewriting the multi-type catch block
    into traditional single-type catch blocks. If it is not feasible
    to rewrite the code, the JIT compiler can be disabled with the
    -Xint option.
    

Problem summary

  • The JIT compiler incorrectly processes multi-catch blocks that
    are themselves inside a try region (or have finally clauses,
    which are the same internally).  An internal data structure
    neglects to record the proper control flow information for the
    second and subsequent catch types listed.
    

Problem conclusion

  • The JIT compiler has been fixed to generate correct control flow
    for multi-type catch blocks.
    .
    This APAR will be fixed in the following Java Releases:
       7 R1 SR2 FP11  (7.1.3.0)
       7    SR9       (7.0.9.0)
       8    SR1       (8.0.1.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the Service
    Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV68110

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-12-21

  • Closed date

    2014-12-29

  • Last modified date

    2015-04-22

  • 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

[{"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:
22 April 2015