test/tools/javac/generics/compat/OverrideBridge1.java

Print this page

        

@@ -25,14 +25,14 @@
  * @test
  * @bug 4836048 4868021 5030040 5052968 5056864
  * @summary generics: compiler allows 1.4 code to override a bridge method
  * @author gafter
  *
- * @compile -source 1.5 OverrideBridge1.java
+ * @compile  OverrideBridge1.java
  * @compile/fail -Werror -source 1.4 OverrideBridge2.java
  * @compile -source 1.4 OverrideBridge2.java
- * @compile -source 1.5 OverrideBridge3.java
+ * @compile  OverrideBridge3.java
  */
 
 // ALLOW users to override bridge methods.
 
 // Note the long list of bug numbers on this regression test.  They