test/tools/javac/enum/DA3.java

Print this page

        

*** 25,35 **** * @test * @bug 5023177 * @summary One can refer static, const static variables from instance initializers of enum * @author gafter * ! * @compile/fail -source 1.5 DA3.java */ package da3; enum T3 { --- 25,35 ---- * @test * @bug 5023177 * @summary One can refer static, const static variables from instance initializers of enum * @author gafter * ! * @compile/fail DA3.java */ package da3; enum T3 {