test/tools/javac/generics/UnsoundInference.java

Print this page

        

*** 25,35 **** * @test * @bug 5020448 * @summary Generic method allowing passing of types that don't match collection types * @author gafter * ! * @compile/fail -source 1.5 UnsoundInference.java */ import java.util.ArrayList; import java.util.Collection; --- 25,35 ---- * @test * @bug 5020448 * @summary Generic method allowing passing of types that don't match collection types * @author gafter * ! * @compile/fail UnsoundInference.java */ import java.util.ArrayList; import java.util.Collection;