You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Tom Bentley (Jira)" <ji...@apache.org> on 2020/04/08 09:20:00 UTC

[jira] [Commented] (KAFKA-7613) Enable javac rawtypes, serial and try xlint warnings

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

Tom Bentley commented on KAFKA-7613:
------------------------------------

[~ijuma] I'll do this over a number of PRs to avoid the code review being very burdensome. I assume that where it's not possible to change public interfaces (e.g. because they inherit {{AutoCloseable.close()}} which generates a warning about it possibly throwing {{InterruptedException}}), that it's OK to suppress those warning without a KIP?

> Enable javac rawtypes, serial and try xlint warnings
> ----------------------------------------------------
>
>                 Key: KAFKA-7613
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7613
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Ismael Juma
>            Assignee: Tom Bentley
>            Priority: Major
>
> KAFKA-7612 enables all Xlint warnings apart from the following:
> {code:java}
> options.compilerArgs << "-Xlint:-rawtypes"
> options.compilerArgs << "-Xlint:-serial"
> options.compilerArgs << "-Xlint:-try"{code}
> We should fix the issues and enable the warnings.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)