test/tools/javac/BadCovar.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 5007379
  * @summary Compiler allows inheritance of multiple methods with unrelated return types
  * @author gafter
  *
- * @compile/fail -source 1.5 BadCovar.java
+ * @compile/fail BadCovar.java
  */
 
 package bad.covar;
 
 import java.util.*;