Steven Pearce created CXF-8027: ---------------------------------- Summary: 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 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.... -- This message was sent by Atlassian JIRA (v7.6.3#76005)