VOOZH about

URL: https://www.ibm.com/support/pages/apar/IJ47942

⇱ IJ47942: LAMBDA EXPRESSIONS MAY TRIGGER AN ILLEGALACCESSERROR WITH SEMERU 17


IJ47942: LAMBDA EXPRESSIONS MAY TRIGGER AN ILLEGALACCESSERROR WITH SEMERU 17

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.IllegalAccessError: Class
    com/ibm/example/ProblematicClass$$Lambda$56/0x00000000e03b8450
    illegally accessing "private" member of class
    .
    Stack Trace:
    .
    

Local fix

Problem summary

  • A defect in OpenJ9 prevents a generated lambda class from
    accessing private members of its host class after the host class
    has been redefined/transformed by an agent.
    The Error will look similar to this:
    java.lang.IllegalAccessError: Class
    com/ibm/example/ProblematicClass$$Lambda$56/0x00000000e03b8450
    illegally accessing "private" member of class
    The stack trace will vary depending on the application code.
    Further information can be found in this Eclipse OpenJ9 pull
    request:
    https://github.com/eclipse-openj9/openj9/pull/17816
    

Problem conclusion

  • OpenJ9 has been updated to ensure that lambda classes can access
    private members of their host classes even after the host class
    has been redefined/transformed
    .
    This APAR will be fixed in the following Releases:
    .
    IBM Semeru Runtimes
     17 17.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
    maintenance can be found at:
     https://www.ibm.com/support/pages/java-sdk
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ47942

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    290

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-08-19

  • Closed date

    2023-08-19

  • Last modified date

    2023-08-19

  • 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

[{"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":"8.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
20 August 2023