mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00

6480588: No way to suppress deprecation warnings when implementing deprecated interface Fixing DeferredLintHandler configuration, so lint warnings are reported with correct @SuppressWarnings settings Reviewed-by: jjg, vromero
14 lines
201 B
Java
14 lines
201 B
Java
/* /nodynamiccopyright/ */
|
|
package pack;
|
|
|
|
@SuppressWarnings("deprecation")
|
|
public class ImplicitMain {
|
|
private Object test() {
|
|
return new ImplicitUse();
|
|
}
|
|
}
|
|
|
|
@Deprecated
|
|
class Dep {
|
|
|
|
}
|