Cross Reference: T6638712c.java
xref
: /
openjdk7
/
langtools
/
test
/
tools
/
javac
/
generics
/
inference
/
6638712
/
T6638712c.java
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
298
N/A
/*
383
N/A
* @test /nodynamiccopyright/
298
N/A
* @bug 6638712 6707034
298
N/A
* @author mcimadamore
298
N/A
* @summary Inference with wildcard types causes selection of inapplicable method
298
N/A
* @
compile
/
fail
/
ref
=T6638712c.out -XDrawDiagnostics
T6638712c.java
298
N/A
*/
298
N/A
298
N/A
import
java
.
util
.*;
298
N/A
298
N/A
class
T6638712c
{
298
N/A
298
N/A
<T> T
sort
(T[] a,
Comparator
<?
super
T> c) {
return
null
; }
298
N/A
298
N/A
void
test
(
Enum
[] e,
Comparator
<
Enum
<?>>
comp
) {
298
N/A
sort
(e,
comp
);
298
N/A
}
298
N/A
}