[
https://issues.apache.org/jira/browse/LUCENE-9394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17128361#comment-17128361
]
Michael Sokolov commented on LUCENE-9394:
-----------------------------------------
Looking at the warnings in Lucene code, I see the vast majority are about
deprecation. Then there are a few unchecked generics. As for the deprecations,
I'm not sure whether it's a better approach to suppress them, or to ignore them
in the eventual no-warnings build enforcement. It's hard to know what the right
thing to do is. I think we sometimes *want* the deprecation warnings since the
intent is to eventually remove the deprecated usage, but in other cases, we
will never do so, so suppression makes more sense.
> Fix or suppress compile-time warnings
> -------------------------------------
>
> Key: LUCENE-9394
> URL: https://issues.apache.org/jira/browse/LUCENE-9394
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael Sokolov
> Priority: Major
>
> This is a spinoff from [~erickerickson]'s efforts over in SOLR-10778
> The goal is a warning-free compilation, followed by enforcement of build
> failure on warnings, with the idea of suppressing innocuous warnings to the
> extent that the remaining warnings be treated as build failure.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]