2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2015-05-15 16:53:08 +00:00
|
|
|
* @test /nodynamiccopyright/
|
2007-12-01 00:00:00 +00:00
|
|
|
* @bug 5011073
|
|
|
|
* @summary javac should implement JLS3 three-pass overload resolution
|
|
|
|
* @author gafter
|
|
|
|
*
|
2015-05-15 16:53:08 +00:00
|
|
|
* @compile/fail/ref=T5011073.out -XDrawDiagnostics T5011073.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
import java.util.*;
|
|
|
|
class T5011073 {
|
|
|
|
static void f(Set<String> s, Class<String> c) {}
|
|
|
|
|
|
|
|
static void g(Set<Integer> s, Class c) {
|
|
|
|
f(s, c);
|
|
|
|
}
|
|
|
|
}
|