kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ismael Juma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-5883) Run tests on Java 9 with –illegal-access=deny
Date Wed, 13 Sep 2017 13:20:02 GMT

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

Ismael Juma commented on KAFKA-5883:
------------------------------------

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)

Mime
View raw message