1 /* |
1 /* |
2 * @test /nodynamiccopyright/ |
2 * @test /nodynamiccopyright/ |
3 * @bug 5086088 |
3 * @bug 5086088 |
4 * @summary check warnings generated when overriding deprecated methods |
4 * @summary check warnings generated when overriding deprecated methods |
5 * |
5 * |
6 * @compile/ref=Test3.out -XDstdout -XDrawDiagnostics -Xlint:deprecation Test3.java |
6 * @compile/ref=Test3.out -XDrawDiagnostics -Xlint:deprecation Test3.java |
7 */ |
7 */ |
8 |
8 |
9 interface LibInterface { |
9 interface LibInterface { |
10 @Deprecated |
10 @Deprecated |
11 void m(); |
11 void m(); |