You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Robert Leland (Jira)" <ji...@apache.org> on 2021/06/23 20:18:00 UTC
[jira] [Created] (CXF-8558) CXF 3.4.3 : Illegal reflective access
by org.apache.cxf.common.util.ReflectionUtil$11
Robert Leland created CXF-8558:
----------------------------------
Summary: CXF 3.4.3 : Illegal reflective access by org.apache.cxf.common.util.ReflectionUtil$11
Key: CXF-8558
URL: https://issues.apache.org/jira/browse/CXF-8558
Project: CXF
Issue Type: Improvement
Reporter: Robert Leland
*Env*
RedHat OpenJDK on Windows 10:
OpenJDK 64-Bit Server VM 18.9 (build 11.0.11+9-LTS, mixed mode)
*CXF*
I have the cxf 3.4.3 tag checked out as a branch and was creating a test based on:
org.apache.cxf.jaxws.provider.ProviderTest.testInvocation()
For that exact test when ported to my project, when running the test using maven and IntelliJ I am seeing :
{noformat}
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.cxf.common.util.ReflectionUtil$11 (file:/C:/Users/rleland1/.m2/repository/org/apache/cxf/cxf-core/3.4.3/cxf-core-3.4.3.jar) to field java.util.concurrent.ThreadPoolExecutor.mainLock
{noformat}
Unfortunately I am behind a firewall and for some reason I cannot build and run tests for CXF using maven, I haven't looked into the details.
*CI*
Looking at
[https://ci-builds.apache.org/job/CXF/job/CXF-3.4.x-JDK11/]
I don't see this warning in the log, but I do see:
{noformat}
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/home/jenkins/jenkins-agent/workspace/CXF/CXF-3.4.x-JDK11/.repository/org/codehaus/groovy/groovy-all/2.4.8/groovy-all-2.4.8.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
{noformat}
So I am unsure why this error occurs for me and not CI
--
This message was sent by Atlassian Jira
(v8.3.4#803005)