Wed, 23 Jan 2013 13:27:24 -0800
8006775: JSR 308: Compiler changes in JDK8
Reviewed-by: jjg
Contributed-by: mernst@cs.washington.edu, wmdietl@cs.washington.edu, mpapi@csail.mit.edu, mahmood@notnoop.com
1 /*
2 * @test /nodynamiccopyright/
3 * @bug 5086088
4 * @summary check warnings generated when overriding deprecated methods
5 *
6 * @compile/ref=Test3.out -XDrawDiagnostics -Xlint:deprecation Test3.java
7 */
9 interface LibInterface {
10 /** @deprecated */
11 void m();
12 }
14 class LibClass {
15 public void m() { }
16 }
18 class Test3 extends LibClass implements LibInterface {
19 }