test/tools/javac/generics/SelfImplement.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 4725668
  * @summary generics: reject implementation with incorrect return type
  * @author gafter
  *
- * @compile/fail -source 1.5 SelfImplement.java
+ * @compile/fail  SelfImplement.java
  */
 
 class SelfImplement {
     static abstract class A<T> {
         abstract void f(T t);