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

Thu, 21 Feb 2013 14:43:51 -0800

author
rfield
date
Thu, 21 Feb 2013 14:43:51 -0800
changeset 1601
cd7340a84bb8
parent 611
4172cfff05f0
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8008405: Now that metafactory is in place, add javac lambda serialization tests
Summary: Tests part of original langtools serialization review.
Reviewed-by: mcimadamore

     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 }

mercurial