You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Steven Pearce (JIRA)" <ji...@apache.org> on 2019/04/18 22:24:00 UTC

[jira] [Updated] (CXF-8027) illegal reflective access operation in EndpointReferenceUtils

     [ https://issues.apache.org/jira/browse/CXF-8027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Pearce updated CXF-8027:
-------------------------------
    Description: 
During some testing today, we noticed this message appearing in the logs.
{quote}WARNING: An illegal reflective access operation has occurred
 WARNING: Illegal reflective access by org.apache.cxf.ws.addressing.EndpointReferenceUtils ([file:/opt/dev/intellij/rodgers_api/reseller.transactions_10/target/reseller.transactions_10-10/WEB-INF/lib/cxf-core-3.3.1.jar|file:///opt/dev/intellij/rodgers_api/reseller.transactions_10/target/reseller.transactions_10-10/WEB-INF/lib/cxf-core-3.3.1.jar]) to method com.sun.org.apache.xerces.internal.dom.ElementImpl.setReadOnly(boolean,boolean)
 WARNING: Please consider reporting this to the maintainers of org.apache.cxf.ws.addressing.EndpointReferenceUtils
 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
{quote}
Now I see a number of similar issues with ReflectionUtils, but nothing for EndpointReferenceUtils.

The line that is causing the issue seems to be [https://github.com/apache/cxf/blob/master/core/src/main/java/org/apache/cxf/ws/addressing/EndpointReferenceUtils.java#L645]

 

  was:
During some testing today, we noticed this message appearing in the logs.
{quote}WARNING: An illegal reflective access operation has occurred
 WARNING: Illegal reflective access by org.apache.cxf.ws.addressing.EndpointReferenceUtils ([file:/opt/dev/intellij/rodgers_api/reseller.transactions_10/target/reseller.transactions_10-10/WEB-INF/lib/cxf-core-3.3.1.jar|file:///opt/dev/intellij/rodgers_api/reseller.transactions_10/target/reseller.transactions_10-10/WEB-INF/lib/cxf-core-3.3.1.jar]) to method com.sun.org.apache.xerces.internal.dom.ElementImpl.setReadOnly(boolean,boolean)
 WARNING: Please consider reporting this to the maintainers of org.apache.cxf.ws.addressing.EndpointReferenceUtils
 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
{quote}
Now I see a number of similar issues with ReflectionUtils, but nothing for EndpointReferenceUtils.

The line that is causing the issue seems to be [https://github.com/apache/cxf/blob/master/core/src/main/java/org/apache/cxf/ws/addressing/EndpointReferenceUtils.java#L645]

The class name of the method that it is accessing is also confusing me somewhat... com.sun.org.apache....


> illegal reflective access operation in EndpointReferenceUtils
> -------------------------------------------------------------
>
>                 Key: CXF-8027
>                 URL: https://issues.apache.org/jira/browse/CXF-8027
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>    Affects Versions: 3.3.1
>         Environment: OpenJDK 11.0.2
> Tomcat 9.0.16
> OSX 10.14.4
>            Reporter: Steven Pearce
>            Priority: Minor
>
> During some testing today, we noticed this message appearing in the logs.
> {quote}WARNING: An illegal reflective access operation has occurred
>  WARNING: Illegal reflective access by org.apache.cxf.ws.addressing.EndpointReferenceUtils ([file:/opt/dev/intellij/rodgers_api/reseller.transactions_10/target/reseller.transactions_10-10/WEB-INF/lib/cxf-core-3.3.1.jar|file:///opt/dev/intellij/rodgers_api/reseller.transactions_10/target/reseller.transactions_10-10/WEB-INF/lib/cxf-core-3.3.1.jar]) to method com.sun.org.apache.xerces.internal.dom.ElementImpl.setReadOnly(boolean,boolean)
>  WARNING: Please consider reporting this to the maintainers of org.apache.cxf.ws.addressing.EndpointReferenceUtils
>  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
> {quote}
> Now I see a number of similar issues with ReflectionUtils, but nothing for EndpointReferenceUtils.
> The line that is causing the issue seems to be [https://github.com/apache/cxf/blob/master/core/src/main/java/org/apache/cxf/ws/addressing/EndpointReferenceUtils.java#L645]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)