test/tools/javac/generics/UnsoundInference.java

Print this page

        

@@ -25,11 +25,11 @@
  * @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
+ * @compile/fail  UnsoundInference.java
  */
 
 import java.util.ArrayList;
 import java.util.Collection;