Cross Reference: T6718364.java
xref
: /
openjdk7
/
langtools
/
test
/
tools
/
javac
/
generics
/
inference
/
6718364
/
T6718364.java
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
92
N/A
/**
383
N/A
*
@test
/nodynamiccopyright/
92
N/A
*
@bug
6718364
92
N/A
*
@summary
inference fails when a generic method is invoked with raw arguments
610
N/A
*
@compile
/ref=T6718364.out -XDrawDiagnostics -Xlint:unchecked
T6718364.java
92
N/A
*/
92
N/A
class
T6718364
{
92
N/A
class
X<T> {}
92
N/A
92
N/A
public
<T>
void
m(X<T> x, T t) {}
92
N/A
92
N/A
public
void
test
() {
92
N/A
m(
new
X<X<
Integer
>>(),
new
X());
92
N/A
}
92
N/A
}