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

Ewen Cheslack-Postava commented on KAFKA-2203:
----------------------------------------------

The drawback is that I don't think we have good enough automated testing right 
now to catch issues across all the JDK versions and we still support JDK6+. 
We're likely to keep breaking things -- people who compile with < JDK8 will 
miss doc errors and people with > JDK6 can easily introduce non-JDK6 compatible 
code. The latter is somewhat alleviated by the fact that I think many 
committers check the build with JDK6.

Probably a better solution than this patch would be to get the testing 
infrastructure to properly test the entire matrix (JDK versions, scala 
versions, etc.) so we would catch issues like this quickly, but that's probably 
a bigger project and I think is currently hampered by the fact that the Apache 
infrastructure has high enough latency that the feedback is too disconnected 
from commits to be useful anyway.

> Get gradle build to work with Java 8
> ------------------------------------
>
>                 Key: KAFKA-2203
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2203
>             Project: Kafka
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.8.1.1
>            Reporter: Gaju Bhat
>            Priority: Minor
>             Fix For: 0.8.1.2
>
>         Attachments: 0001-Special-case-java-8-and-javadoc-handling.patch
>
>
> The gradle build halts because javadoc in java 8 is a lot stricter about 
> valid html.
> It might be worthwhile to special case java 8 as described 
> [here|http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to