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:54:00 UTC

[jira] [Commented] (CXF-8558) CXF 3.4.4 : Illegal reflective access by org.apache.cxf.common.util.ReflectionUtil$2

    [ https://issues.apache.org/jira/browse/CXF-8558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17368454#comment-17368454 ] 

Robert Leland commented on CXF-8558:
------------------------------------

Whay isn't that error captured in Apache in CI ? That has me puzzled!

> 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
>          Components: Core
>    Affects Versions: 3.4.4
>            Reporter: Robert Leland
>            Priority: Minor
>
> *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)