test/tools/javac/varargs/VarargsOverride.java

Print this page

        

@@ -25,12 +25,12 @@
  * @test
  * @bug 4984022
  * @summary overriding with method of different arity is prohibited
  * @author gafter
  *
- * @compile -source 1.5 VarargsOverride.java
- * @compile/fail -source 1.5 -Werror -Xlint VarargsOverride.java
+ * @compile  VarargsOverride.java
+ * @compile/fail  -Werror -Xlint VarargsOverride.java
  */
 
 package varargs.override;
 
 class A {