mcimadamore@161: /* jjg@384: * @test /nodynamiccopyright/ mcimadamore@161: * @bug 6758789 mcimadamore@161: * @summary 6758789: Some method resolution diagnostic should be improved mcimadamore@161: * @author Maurizio Cimadamore mcimadamore@161: * mcimadamore@161: * @compile/fail/ref=T6758789a.out -XDrawDiagnostics T6758789a.java mcimadamore@161: */ mcimadamore@161: mcimadamore@161: class T6758789a { mcimadamore@161: void m1() {} mcimadamore@161: void m2(int i) {} mcimadamore@161: void test() { mcimadamore@161: m1(1); mcimadamore@161: m2(); mcimadamore@161: } mcimadamore@161: }