CSR :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
JDK-8065613 :
|
During efforts to rid the JDK code base of lint warnings, it has been observed that the deprecation lint warnings currently issued on import statements are a nuisance and often uninformative. While use of deprecated types within methods or in method signatures can be suppressed using @SuppressWarning, and annotation *cannot* be used to suppress the deprecation warning on an import. To get a warning-free program that must use deprecated types or method, it is unreasonable to impose a requirement that all references to the deprecated elements must be through a fully qualified name. Therefore, it would be helpful if the JLS were changed to no longer require a deprecation warning be used for import statements.
|