2009-08-11 01:12:40 +01:00
|
|
|
/*
|
2009-08-27 11:08:27 -07:00
|
|
|
* @test /nodynamiccopyright/
|
2009-08-11 01:12:40 +01:00
|
|
|
* @bug 6840059
|
|
|
|
* @summary 6758789: Some method resolution diagnostic should be improved
|
|
|
|
* @author Maurizio Cimadamore
|
|
|
|
*
|
|
|
|
* @compile/fail/ref=T6840059.out -XDrawDiagnostics T6840059.java
|
|
|
|
*/
|
|
|
|
|
|
|
|
class T6840059 {
|
|
|
|
|
|
|
|
T6840059(Integer x) {}
|
|
|
|
|
|
|
|
void test() {
|
|
|
|
new T6840059(""){};
|
|
|
|
}
|
|
|
|
}
|