test/tools/javac/enum/Def.java

Print this page

        

*** 25,35 **** * @test * @bug 5051679 * @summary constant static fields cannot be referenced from const, instance initializers * @author gafter * ! * @compile -source 1.5 Def.java */ package _enum.def; enum Def { --- 25,35 ---- * @test * @bug 5051679 * @summary constant static fields cannot be referenced from const, instance initializers * @author gafter * ! * @compile Def.java */ package _enum.def; enum Def {