author | hseigel |
Wed, 02 Mar 2016 23:48:41 +0000 | |
changeset 36397 | c487ced7231c |
parent 30719 | 91834c070ba5 |
permissions | -rw-r--r-- |
/* * @test /nodynamiccopyright/ * @bug 4984158 * @summary two inherited methods with same signature * @author gafter, Maurizio Cimadamore * * @compile/fail/ref=InheritanceConflict.out -XDrawDiagnostics InheritanceConflict.java */ package inheritance.conflict; class A<T> { void f(String s) {} } class B<T> extends A<T> { void f(T t) {} } class C extends B<String> { }