IBM Support

PH28308: ECLIPSELINK ILLEGAL ACCESS WARNING FROM REFLECTION

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

  • Running with OpenJDK (Jigsaw) JDK 9 b162 or later results in
    the following warning.
    
    Warning:
    ´´´
    WARNING: An illegal reflective access operation has occurred
    WARNING: Illegal reflective access by
    org.eclipse.persistence.internal.security.PrivilegedAccessHelper
    
    (file:/.../wlp/dev/
    api/third-party/com.ibm.websphere.appserver.thirdparty.eclipseli
    nk_1.0.43.jar) to method
    com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.getXmlEn
    coding()
    WARNING: Please consider reporting this to the maintainers of
    org.eclipse.persistence.internal.security.PrivilegedAccessHelper
    WARNING: Use --illegal-access=warn to enable warnings of
    further illegal reflective access operations
    ´´´
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server - Java Persistence API - JPA 2.1 &   *
    *                  EclipseLink                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: EclipseLink prints warnings for         *
    *                      Illegal Access when running with        *
    *                      certain Java versions                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Warning example:
    ´´´
    WARNING: An illegal reflective access operation has occurred
    WARNING: Illegal reflective access by
    org.eclipse.persistence.internal.security.PrivilegedAccessHelper
    (file:.../wlp/dev/api/third-
    party/com.ibm.websphere.appserver.th
    irdparty.eclipselink_1.0.43.jar) to method
    com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.getXmlEn
    coding()
    WARNING: Please consider reporting this to the maintainers of
    org.eclipse.persistence.internal.security.PrivilegedAccessHelper
    WARNING: Use --illegal-access=warn to enable warnings of
    further illegal reflective access operations
    WARNING: All illegal access operations will be denied in a
    future release
    ´´´
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH28308

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-08-11

  • Closed date

    2020-11-17

  • Last modified date

    2020-11-17

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

[{"Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900"}]

Document Information

Modified date:
14 December 2020