test/tools/javac/enum/DA1.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 DA1.java */ package da1; enum T1 { --- 25,35 ---- * @test * @bug 5023177 * @summary One can refer static, const static variables from instance initializers of enum * @author gafter * ! * @compile/fail DA1.java */ package da1; enum T1 {