test/tools/javac/enum/UserValue.java

Print this page

        

*** 25,35 **** * @test * @bug 4901558 * @summary compiler crash on user-defined valueOf in enum * @author gafter * ! * @compile -source 1.5 UserValue.java */ public enum UserValue { UP(0), DOWN(1); --- 25,35 ---- * @test * @bug 4901558 * @summary compiler crash on user-defined valueOf in enum * @author gafter * ! * @compile UserValue.java */ public enum UserValue { UP(0), DOWN(1);