test/tools/javac/depOverrides/annotation/Test3.java

changeset 611
4172cfff05f0
parent 1
9a66ca7c79fa
child 2525
2eb010b6cb22
equal deleted inserted replaced
610:3640b60bd0f6 611:4172cfff05f0
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();

mercurial