You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/04/07 10:11:00 UTC

[jira] [Commented] (LUCENE-9910) maximize javac lint

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

ASF subversion and git services commented on LUCENE-9910:
---------------------------------------------------------

Commit 40267537443f548fdd61f353f848e0997b381b86 in lucene's branch refs/heads/main from Robert Muir
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=4026753 ]

LUCENE-9910: maximize javac lint (#68)

This enables quite a few javac warnings from java11+ that weren't
enabled for some reason. None of them fail, so lock them in.

Additionally some newer checks are only recognized for newer JDK
versions, so they are only enabled based on the javac version used. They
will cause no annoyance because they relate to newer language features.

> maximize javac lint
> -------------------
>
>                 Key: LUCENE-9910
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9910
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Robert Muir
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> When new checks get added to javac, we should enable them if possible: easiest way to prevent trouble.
> There are a number of checks that don't fail on any code, so let's enable them?



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org