Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
3.4.4
-
None
-
None
-
Unknown
Description
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.4 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 :
WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.apache.cxf.common.util.ReflectionUtil$2 (file:/C:/Users/rleland1/.m2/repository/org/apache/cxf/cxf-core/3.4.4/cxf-core-3.4.4.jar) to field java.util.concurrent.ThreadPoolExecutor.mainLock
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:
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
So I am unsure why this error occurs for me and not CI