[ https://issues.apache.org/jira/browse/CXF-7838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16664665#comment-16664665 ]
Freeman Fang commented on CXF-7838: ----------------------------------- Hi [~llech], I can only see {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} while building Apache Tika. Would you please elaborate how can I reproduce {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) 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 {code} That would be very helpful for me to investigate and verify the fix. I'm using OpenJDK 11 btw. Thanks! 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)