[
https://issues.apache.org/jira/browse/KAFKA-4501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15824085#comment-15824085
]
Ismael Juma edited comment on KAFKA-4501 at 1/16/17 2:42 PM:
-------------------------------------------------------------
Sounds good to me [~ewencp]. A couple of things in Kafka that we will probably
have to fix:
1. Accessing `sun.misc.Cleaner` in `AbstractIndex`. We only did it for Windows
until now, but https://github.com/apache/kafka/pull/2352 will do it for all
platforms. A commit that shows how Lucene changed their code to support Java 9:
https://github.com/apache/lucene-solr/commit/7e03427fa14a024ce257babcb8362d2451941e21
2. `JaaUtils.defaultKerberosRealm` uses reflection and setAccessible.
was (Author: ijuma):
Sounds good to me [~ewencp]. A couple of things in Kafka that we will probably
have to fix:
1. Accessing `sun.misc.Cleaner` in `AbstractIndex`. We only did it for Windows
until now, but https://github.com/apache/kafka/pull/2352 will do it for all
platforms. A commit that shows how Lucene changed their code to support Java 9:
https://github.com/apache/lucene-solr/commit/7e03427fa14a024ce257babcb8362d2451941e21
2. `JaaUtils.defaultKerberosRealm` uses reflection and setAccessible.
> Support Java 9
> --------------
>
> Key: KAFKA-4501
> URL: https://issues.apache.org/jira/browse/KAFKA-4501
> Project: Kafka
> Issue Type: Improvement
> Reporter: Ismael Juma
> Fix For: 0.10.3.0
>
>
> Java 9 is scheduled to be released in July 2017. We should support it.
> The new module system enforces access control and things like `setAccessible`
> cannot, by default, be used to circumvent access control in other modules.
> There are command-line flags available to disable the behaviour on a module
> by module basis.
> Right now, Gradle fails with the latest Java 9 snapshot and Scala 2.12.1 is
> required if building with Java 9. So we are blocked until the Gradle issues
> are fixed.
> I set the "Fix version" to 0.10.2.0, but it's likely to happen for the
> release after that.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)