mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00

6598104: javac should not warn about imports of deprecated classes Suppressing the deprecation warnings when importing a deprecated element (deprecations in import qualifier will be produced). Reviewed-by: darcy, jjg, mcimadamore
8 lines
87 B
Java
8 lines
87 B
Java
package p;
|
|
|
|
@Deprecated
|
|
class Dep2 {
|
|
class C { }
|
|
@Deprecated
|
|
class D { }
|
|
}
|