author | sogoel |
Thu, 05 Jun 2014 10:57:10 -0700 | |
changeset 24797 | 850ebd4d80a7 |
parent 3766 | 7e2df99e9223 |
permissions | -rw-r--r-- |
/* * @test /nodynamiccopyright/ * @bug 6758789 * @summary 6758789: Some method resolution diagnostic should be improved * @author Maurizio Cimadamore * * @compile/fail/ref=T6758789b.out -Werror -XDrawDiagnostics -Xlint:unchecked T6758789b.java */ class T6758789a { class Foo<T> {} <X> void m(Foo<X> foo) {} void test() { m(new Foo()); } }