test/tools/javac/generics/wildcards/neg/Readonly.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 4916607 4931647
  * @summary an extends-bound (covariant) wildcard is like readonly
  * @author gafter
  *
- * @compile/fail -source 1.5 Readonly.java
+ * @compile/fail  Readonly.java
  */
 
 class Err<T> {
     Err<T> get() { return null; }
     void put(Err<T> t) {}