test/tools/javac/generics/T5011073.java
Print this page
*** 25,35 ****
* @test
* @bug 5011073
* @summary javac should implement JLS3 three-pass overload resolution
* @author gafter
*
! * @compile/fail -source 1.5 T5011073.java
*/
import java.util.*;
class T5011073 {
static void f(Set<String> s, Class<String> c) {}
--- 25,35 ----
* @test
* @bug 5011073
* @summary javac should implement JLS3 three-pass overload resolution
* @author gafter
*
! * @compile/fail T5011073.java
*/
import java.util.*;
class T5011073 {
static void f(Set<String> s, Class<String> c) {}