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

Fri, 22 Mar 2013 12:43:09 +0000

author
mcimadamore
date
Fri, 22 Mar 2013 12:43:09 +0000
changeset 1655
c6728c9addff
parent 611
4172cfff05f0
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8010303: Graph inference: missing incorporation step causes spurious inference error
Summary: Multiple equality constraints on inference vars are not used to generate new inference constraints
Reviewed-by: jjg

     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