JEP 211: Elide Deprecation Warnings on Import Statements

Florian Weimer fweimer at
Thu Oct 16 08:44:47 UTC 2014

On 10/16/2014 02:32 AM, mark.reinhold at wrote:
> New JEP Candidate:

Would it make sense to suppress then warning on an import statement only 
if (a) there are uses of this import statement and (b) all these uses 
are annotated with @Deprecated?

Or is this too complicated and we should rely on the existing 
unused-import warning?

Florian Weimer / Red Hat Product Security

More information about the compiler-dev mailing list