[ https://issues.apache.org/jira/browse/KAFKA-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16164635#comment-16164635 ]
Ismael Juma edited comment on KAFKA-5883 at 9/16/17 1:55 AM: ------------------------------------------------------------- A few changes that are likely to be required: 1. Accessing `sun.security.krb5.Config` for the `getDefaultRealm` and `refresh` methods. 2. Upgrade to newer versions of EasyMock and PowerMock. was (Author: ijuma): A few changes that are likely to be required: 1. Accessing `sun.nio.ch.DirectBuffer` in `AbstractIndex`. A commit that shows how Lucene changed their code to run without warnings: https://github.com/apache/lucene-solr/commit/7e03427fa14a024ce257babcb8362d2451941e21 2. Accessing `sun.security.krb5.Config` for the `getDefaultRealm` method. 3. Upgrade to newer versions of EasyMock and PowerMock. > Run tests on Java 9 with –illegal-access=deny > --------------------------------------------- > > Key: KAFKA-5883 > URL: https://issues.apache.org/jira/browse/KAFKA-5883 > Project: Kafka > Issue Type: Task > Reporter: Ismael Juma > Fix For: 1.1.0 > > > The default was changed from –illegal-access=deny to –illegal-access=warn > late in the Java 9 cycle. By using the former, we will ensure that our code > is not relying on functionality that will be removed in a future Java version. -- This message was sent by Atlassian JIRA (v6.4.14#64029)