[
https://issues.apache.org/jira/browse/CXF-8558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Leland updated CXF-8558:
-------------------------------
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 :
{noformat}
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
{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
was:
*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
> CXF 3.4.4 : Illegal reflective access by
> org.apache.cxf.common.util.ReflectionUtil$2
> ------------------------------------------------------------------------------------
>
> Key: CXF-8558
> URL: https://issues.apache.org/jira/browse/CXF-8558
> Project: CXF
> Issue Type: Improvement
> Affects Versions: 3.4.4
> Reporter: Robert Leland
> Priority: Major
>
> *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 :
> {noformat}
> 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
> {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)