test/tools/javac/varargs/VarargsOverride.java

Print this page

        

*** 25,36 **** * @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 */ package varargs.override; class A { --- 25,36 ---- * @test * @bug 4984022 * @summary overriding with method of different arity is prohibited * @author gafter * ! * @compile VarargsOverride.java ! * @compile/fail -Werror -Xlint VarargsOverride.java */ package varargs.override; class A {