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=T6985719a.out -XDrawDiagnostics T6985719a.java |
aoqi@0 | 7 | */ |
aoqi@0 | 8 | |
aoqi@0 | 9 | import java.util.List; |
aoqi@0 | 10 | |
aoqi@0 | 11 | class T6985719a { |
aoqi@0 | 12 | interface A { void f(List<String> ls); } |
aoqi@0 | 13 | interface B { void f(List<Integer> ls); } |
aoqi@0 | 14 | interface C extends A,B {} |
aoqi@0 | 15 | } |