IBM Support

PH09834: java.lang.VerifyError on openwebbeans with Java, 8 update 11 and 7 update 65

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A java.lang.VerifyError is thrown when using open webbeans
    on some Oracle JDKs such as Java, 8 update 11 and 7 update
    65
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty - Contexts and Dependency    *
    *                  Injection (CDI)                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: java.lang.VerifyError on open webbeans  *
    *                      with some Oracle JDKs                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A java.lang.VerifyError is thrown when using open webbeans on
    some Oracle JDKs, such as Java 8 update 11 and Java 7 update 65.
    This is because oracle began to enforce a previously unenforced
    constraint that any call to a superclass constructor be the
    first action undertaken by a constructor.
    

Problem conclusion

  • The Java language requires any call to a superclass constructor
    to be the first action undertaken by a constructor but this was
    not enforced. The javaverify libary used by openwebbeans
    violated this constraint, resulting in exceptions when a java
    update began to enforce these constraints.
    
    To resolve this we have updated javassist to 3.21.0-GA
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 8.5.5.16 and Liberty 9.0.0.3.  Please refer to the
    Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

  • Enable the -noverify switch on your jdk.
    

Comments

APAR Information

  • APAR number

    PH09834

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    CD0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-03-18

  • Closed date

    2019-04-02

  • Last modified date

    2019-04-02

  • 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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • RCD0 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"CD0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022