[ 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:
https://github.com/gradle/gradle/releases/tag/v4.1.0-RC1
There are a couple of cases (somewhat easy to workaround) where Scala code no longer compiles
with Java 9:
https://github.com/scala/bug/issues/10418
The next issue is that neither EasyMock or PowerMock work with Java 9:
https://github.com/easymock/easymock/issues/193
https://github.com/powermock/powermock/issues/783
> 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: 0.11.1.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.4.14#64029)
|