[ https://issues.apache.org/jira/browse/ZOOKEEPER-3263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840556#comment-16840556 ]
Andor Molnar commented on ZOOKEEPER-3263: ----------------------------------------- Issues that I've found so far: {noformat} WARNING: Illegal reflective access by org.apache.ivy.util.url.IvyAuthenticator (file:/Users/andormolnar/git/my-zookeeper/zookeeper-server/src/main/resources/lib/ivy-2.4.0.jar) to field java.net.Authenticator.theAuthenticator{noformat} Upgrade ivy {noformat} WARNING: Illegal reflective access by org.mockito.cglib.core.ReflectUtils$2 (file:/Users/andormolnar/git/my-zookeeper/build/test/lib/mockito-all-1.8.5.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain){noformat} Upgrade mockito {noformat} WARNING: Illegal reflective access by org.apache.zookeeper.server.util.KerberosUtil (file:/Users/andormolnar/git/my-zookeeper/build/classes/) to method sun.security.krb5.Config.getInstance() {noformat} Patch {{KerberosUtil}} I'm going to put together a patch to address these issues on all branches tomorrow. > Illegal reflective access in zookeer's kerberosUtil > --------------------------------------------------- > > Key: ZOOKEEPER-3263 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3263 > Project: ZooKeeper > Issue Type: Improvement > Affects Versions: 3.4.13 > Reporter: Pradeep Bansal > Priority: Major > > I am using kafka 2.11-2.1.0 with Java 11. Kafka is using zookeeper-3.4.13.jar > and when am running kafka-acl script to maange ACLs, I am getting below > warning. Is there a way to resolve this? > {{WARNING: An illegal reflective access operation has occurred WARNING: > Illegal reflective access by org.apache.zookeeper.server.util.KerberosUtil > (file://apache/kafka/kafka_2.11-2.1.0/libs/zookeeper-3.4.13.jar) to method > sun.security.krb5.Config.getInstance() WARNING: Please consider reporting > this to the maintainers of org.apache.zookeeper.server.util.KerberosUtil > WARNING: Use --illegal-access=warn to enable warnings of further illegal > reflective access operations WARNING: All illegal access operations will be > denied in a future release}} -- This message was sent by Atlassian JIRA (v7.6.3#76005)