IBM Support

IJ32299: ILLEGALACCESSEXCEPTION THROWN WHEN ACCESSING ARRAY WITH PROTECTED INNERCLASS TYPE THROUGH METHODHANDLE

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: IllegalAccessException thrown when accessing
    array with protected innerclass type through MethodHandle
    .
    Stack Trace: java.lang.IllegalAccessException
    at
    java.base/java.lang.invoke.MethodHandles$Lookup.checkClassAccess
    (MethodHandles.java:543)
    at
    java.base/java.lang.invoke.MethodHandles$Lookup.accessCheckArgRe
    tTypes(MethodHandles.java:837)
    at
    java.base/java.lang.invoke.MethodHandleResolver.sendResolveMetho
    dHandle(MethodHandleResolver.java:311)
    .
    

Local fix

Problem summary

  • This is caused by incorrect access modifiers being returned by
    the Java API
    

Problem conclusion

  • The Java API have been updated to return the correct modifiers
    to be used for access validation.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR6 FP31  (8.0.6.31)
    .
    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

    IJ32299

  • 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

    2021-04-24

  • Closed date

    2021-04-24

  • Last modified date

    2021-04-24

  • 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:
21 February 2022