2008-10-24 12:46:34 +01:00
|
|
|
/*
|
2009-08-27 11:08:27 -07:00
|
|
|
* @test /nodynamiccopyright/
|
2008-10-24 12:46:34 +01:00
|
|
|
* @bug 6758789
|
|
|
|
* @summary 6758789: Some method resolution diagnostic should be improved
|
|
|
|
* @author Maurizio Cimadamore
|
|
|
|
*
|
|
|
|
* @compile/fail/ref=T6758789a.out -XDrawDiagnostics T6758789a.java
|
|
|
|
*/
|
|
|
|
|
|
|
|
class T6758789a {
|
|
|
|
void m1() {}
|
|
|
|
void m2(int i) {}
|
|
|
|
void test() {
|
|
|
|
m1(1);
|
|
|
|
m2();
|
|
|
|
}
|
|
|
|
}
|