Fri, 14 Mar 2014 23:03:03 -0700
Merge
aoqi@0 | 1 | /* |
aoqi@0 | 2 | * @test /nodynamiccopyright/ |
aoqi@0 | 3 | * @bug 6985719 |
aoqi@0 | 4 | * @summary Alike methods in interfaces (Inheritance and Overriding) |
aoqi@0 | 5 | * @author mcimadamore |
aoqi@0 | 6 | * @compile/fail/ref=T6985719g.out -XDrawDiagnostics T6985719g.java |
aoqi@0 | 7 | */ |
aoqi@0 | 8 | |
aoqi@0 | 9 | import java.util.List; |
aoqi@0 | 10 | |
aoqi@0 | 11 | class T6985719g { |
aoqi@0 | 12 | interface A<X> { void f(List<X> ls); } |
aoqi@0 | 13 | interface B extends A<String> { void f(List<Integer> ls); } |
aoqi@0 | 14 | } |