test/tools/javac/generics/T4757416.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 4756416
  * @summary generics: erasure clash not detected
  * @author gafter
  *
- * @compile/fail -source 1.5 T4757416.java
+ * @compile/fail  T4757416.java
  */
 
 class T4756416 {
     static class C<A> { A id ( A x) { return x; } }
     interface I<A> { A id(A x); }