mcimadamore@252: /* jjg@384: * @test /nodynamiccopyright/ mcimadamore@252: * @bug 6182950 mcimadamore@252: * @summary methods clash algorithm should not depend on return type mcimadamore@252: * @author mcimadamore mcimadamore@252: * @compile/fail/ref=T6182950a.out -XDrawDiagnostics T6182950a.java mcimadamore@252: */ mcimadamore@252: import java.util.List; mcimadamore@252: mcimadamore@252: class T6182950a { mcimadamore@252: int m(List l) {return 0;} mcimadamore@252: double m(List l) {return 0;} mcimadamore@252: }