IBM Support

IJ02283: ILLEGALACCESSEXCEPTION DUE TO A MISSING ACCESS CHECK FOR THE SAME CLASS IN METHODHANDLE APIS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: A java.lang.IllegalAccessException is received.
    .
    Stack Trace: Caused by: java.lang.IllegalAccessException:
    'org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler'
    no access to:
    'org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler'
        at java.lang.invoke.MethodHandles$Lookup.checkClassAccess
        at java.lang.invoke.MethodHandles$Lookup.checkAccess
        at java.lang.invoke.MethodHandles$Lookup.checkAccess
        at java.lang.invoke.MethodHandles$Lookup.findStatic
        at java.lang.invoke.MethodHandle.sendResolveMethodHandle
        at java.lang.invoke.MethodHandle.getCPMethodHandleAt
        at java.lang.invoke.MethodHandle.resolveInvokeDynamic
    .
    

Local fix

  • N/A
    

Problem summary

  • The existing implementation's access checking doesn't handle the
    case were the accessClass and definingClass are the same class
    

Problem conclusion

  • The JVM has been updated to handle the case of the same class
    .
    This APAR will be fixed in the following Java Releases:
       8    SR5 FP6   (8.0.5.6)
    .
    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

    IJ02283

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-11-29

  • Closed date

    2017-11-29

  • Last modified date

    2017-11-29

  • 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

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R270 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
22 February 2022