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

Tue, 25 May 2010 15:54:51 -0700

author
ohair
date
Tue, 25 May 2010 15:54:51 -0700
changeset 554
9d9f26857129
parent 1
9a66ca7c79fa
child 611
4172cfff05f0
permissions
-rw-r--r--

6943119: Rebrand source copyright notices
Reviewed-by: darcy

     1 /*
     2  * @test  /nodynamiccopyright/
     3  * @bug 5086088
     4  * @summary check warnings generated when overriding deprecated methods
     5  *
     6  * @compile/ref=Test3.out -XDstdout -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 }

mercurial