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-4501) Support Java 9
Date Sat, 22 Jul 2017 09:16:00 GMT

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

Ismael Juma commented on KAFKA-4501:

Gradle 4.1 includes a number of fixes for Java 9 including the fix for the NPE as part of
the upgrade to Zinc 0.3.15:


There are a couple of cases (somewhat easy to workaround) where Scala code no longer compiles
with Java 9:


The next issue is that neither EasyMock or PowerMock work with Java 9:


> Support Java 9
> --------------
>                 Key: KAFKA-4501
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4501
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Ismael Juma
>            Assignee: Ismael Juma
>             Fix For:
> 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, but it's likely to happen for the release after

This message was sent by Atlassian JIRA

View raw message