[jira] [Commented] (CXF-7838) Remove illegal reflective access in ReflectionUtil

2018-10-30 Thread Tim Allison (JIRA)


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

Tim Allison commented on CXF-7838:
--

Thank you for fixing this!

> Remove illegal reflective access in ReflectionUtil
> --
>
> Key: CXF-7838
> URL: https://issues.apache.org/jira/browse/CXF-7838
> Project: CXF
>  Issue Type: Task
>Reporter: Tim Allison
>Assignee: Freeman Fang
>Priority: Major
> Fix For: 3.2.7, 3.3.0
>
>
> Apologies if this is a duplicate. We're about to upgrade to 3.2.6 on Apache 
> Tika, and we're still getting the following when we run our unit tests with 
> Java 11.
> {quote}Illegal reflective access by 
> org.apache.cxf.common.util.ReflectionUtil$11 
> ([file:.m2/repository/org/apache/cxf/cxf-core/3.2.6/cxf-core-3.2.6.jar|file://.m2/repository/org/apache/cxf/cxf-core/3.2.6/cxf-core-3.2.6.jar])
>  to field java.net.Authenticator.theAuthenticator
>  WARNING: Please consider reporting this to the maintainers of 
> org.apache.cxf.common.util.ReflectionUtil$11
>  WARNING: Use --illegal-access=warn to enable warnings of further illegal 
> reflective access operations
> {quote}
> Let us know if you need more info to solve this.  Thank you!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CXF-7838) Remove illegal reflective access in ReflectionUtil

2018-10-26 Thread Freeman Fang (JIRA)


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

Freeman Fang commented on CXF-7838:
---

OK, I can see the
{code}
WARNING: Illegal reflective access by 
org.apache.cxf.common.util.ReflectionUtil$11 (file:./lib/cxf-core-3.2.6.jar) to 
method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
{code}

after I fixed the 
{code}
WARNING: Illegal reflective access by 
org.apache.cxf.common.util.ReflectionUtil$11 (file:./lib/cxf-core-3.2.6.jar) to 
field java.net.Authenticator.theAuthenticator
{code}

And I have a fix on the way... running more test now.

Freeman

> Remove illegal reflective access in ReflectionUtil
> --
>
> Key: CXF-7838
> URL: https://issues.apache.org/jira/browse/CXF-7838
> Project: CXF
>  Issue Type: Task
>Reporter: Tim Allison
>Assignee: Freeman Fang
>Priority: Major
>
> Apologies if this is a duplicate. We're about to upgrade to 3.2.6 on Apache 
> Tika, and we're still getting the following when we run our unit tests with 
> Java 11.
> {quote}Illegal reflective access by 
> org.apache.cxf.common.util.ReflectionUtil$11 
> ([file:.m2/repository/org/apache/cxf/cxf-core/3.2.6/cxf-core-3.2.6.jar|file://.m2/repository/org/apache/cxf/cxf-core/3.2.6/cxf-core-3.2.6.jar])
>  to field java.net.Authenticator.theAuthenticator
>  WARNING: Please consider reporting this to the maintainers of 
> org.apache.cxf.common.util.ReflectionUtil$11
>  WARNING: Use --illegal-access=warn to enable warnings of further illegal 
> reflective access operations
> {quote}
> Let us know if you need more info to solve this.  Thank you!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CXF-7838) Remove illegal reflective access in ReflectionUtil

2018-10-25 Thread Lukasz Lech (JIRA)


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

Lukasz Lech commented on CXF-7838:
--

There are 3 illegal operations involved:
WARNING: Illegal reflective access by 
org.apache.cxf.common.util.ReflectionUtil$11 (file:./lib/cxf-core-3.2.6.jar) to 
field java.net.Authenticator.theAuthenticator
WARNING: Illegal reflective access by 
org.apache.cxf.common.util.ReflectionUtil$11 (file:./lib/cxf-core-3.2.6.jar) to 
method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Illegal reflective access by 
org.apache.cxf.common.util.ReflectionUtil$11 (file:./lib/cxf-core-3.2.6.jar) to 
field java.net.URLClassLoader.acc

> Remove illegal reflective access in ReflectionUtil
> --
>
> Key: CXF-7838
> URL: https://issues.apache.org/jira/browse/CXF-7838
> Project: CXF
>  Issue Type: Task
>Reporter: Tim Allison
>Priority: Major
>
> Apologies if this is a duplicate. We're about to upgrade to 3.2.6 on Apache 
> Tika, and we're still getting the following when we run our unit tests with 
> Java 11.
> {quote}Illegal reflective access by 
> org.apache.cxf.common.util.ReflectionUtil$11 
> ([file:.m2/repository/org/apache/cxf/cxf-core/3.2.6/cxf-core-3.2.6.jar|file://.m2/repository/org/apache/cxf/cxf-core/3.2.6/cxf-core-3.2.6.jar])
>  to field java.net.Authenticator.theAuthenticator
>  WARNING: Please consider reporting this to the maintainers of 
> org.apache.cxf.common.util.ReflectionUtil$11
>  WARNING: Use --illegal-access=warn to enable warnings of further illegal 
> reflective access operations
> {quote}
> Let us know if you need more info to solve this.  Thank you!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)