test/tools/javac/varargs/Anon.java

Print this page

        

*** 25,35 **** * @test * @bug 4986231 * @summary varargs versus anonymous constructors crashes javac * @author gafter * ! * @compile -source 1.5 Anon.java */ class Anon { Anon() { Fox fox1 = new Fox(1) {}; --- 25,35 ---- * @test * @bug 4986231 * @summary varargs versus anonymous constructors crashes javac * @author gafter * ! * @compile Anon.java */ class Anon { Anon() { Fox fox1 = new Fox(1) {};