[
https://issues.apache.org/jira/browse/LUCENE-7631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15824347#comment-15824347
]
Mike Drob commented on LUCENE-7631:
-----------------------------------
Yes, the build passes for me with only the two additional changes in
WordDictionary and SimpleServer.
Warnings for {{-Xlint:-auxiliaryclass -Xlint:-deprecation -Xlint:-rawtypes
-Xlint:-serial -Xlint:-unchecked}} are all disabled. Each of those causes a
_lot_ of errors that I'd like to see eventually followed up on. The auxiliary
class warnings are the easiest of those, but still enough work that I felt like
it should be a separate task.
I also have a sneaking suspicion that this only affects lucene and solr is
somehow ignoring it, but couldn't find anything to confirm that.
> Enforce javac warnings
> ----------------------
>
> Key: LUCENE-7631
> URL: https://issues.apache.org/jira/browse/LUCENE-7631
> Project: Lucene - Core
> Issue Type: Bug
> Components: general/build
> Reporter: Mike Drob
> Attachments: LUCENE-7631.patch
>
>
> Robert's comment on LUCENE-3973 suggested to take an incremental approach to
> static analysis and leverage the java compiler warnings. I think this is easy
> to do and is a reasonable change to make to protect the code base for the
> future.
> We currently have many fewer warnings than we did a year or two years ago and
> should ensure that we do not slide backwards.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]