test/tools/javac/Ambig3.java

Print this page

        

*** 25,35 **** * @test * @bug 4906586 * @summary Missing ambiguity error when two methods are equally specific * @author gafter * ! * @compile/fail -source 1.5 Ambig3.java */ class Test<T,E> { public void check(T val){ System.out.println("Second check method being called"); --- 25,35 ---- * @test * @bug 4906586 * @summary Missing ambiguity error when two methods are equally specific * @author gafter * ! * @compile/fail Ambig3.java */ class Test<T,E> { public void check(T val){ System.out.println("Second check method being called");