Cross Reference: T6758789b.java
xref
: /
openjdk7
/
langtools
/
test
/
tools
/
javac
/
6758789
/
T6758789b.java
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
160
N/A
/*
383
N/A
* @test /nodynamiccopyright/
160
N/A
* @bug 6758789
160
N/A
* @summary 6758789: Some method resolution diagnostic should be improved
160
N/A
* @author Maurizio Cimadamore
160
N/A
*
160
N/A
* @
compile
/
fail
/
ref
=T6758789b.out -Werror -XDrawDiagnostics -Xlint:unchecked
T6758789b.java
160
N/A
*/
160
N/A
160
N/A
class
T6758789a
{
160
N/A
class
Foo
<T> {}
160
N/A
160
N/A
<X>
void
m(
Foo
<X>
foo
) {}
160
N/A
160
N/A
void
test
() {
160
N/A
m(
new
Foo
());
160
N/A
}
160
N/A
}