1/* 2 * @test /nodynamiccopyright/ 3 * @bug 5011073 4 * @summary javac should implement JLS3 three-pass overload resolution 5 * @author gafter 6 * 7 * @compile/fail/ref=T5011073.out -XDrawDiagnostics T5011073.java 8 */ 9 10import java.util.*; 11class T5011073 { 12 static void f(Set<String> s, Class<String> c) {} 13 14 static void g(Set<Integer> s, Class c) { 15 f(s, c); 16 } 17} 18