test/tools/javac/enum/enumSwitch/EnumSwitch.java

Print this page

        

*** 25,36 **** * @test * @bug 5055142 * @summary javac-generated code doesn't obey binary compatibility for enums * @author gafter * ! * @compile -source 1.5 EnumSwitch.java ! * @compile -source 1.5 Color2.java * @run main EnumSwitch */ enum Color { red, green --- 25,36 ---- * @test * @bug 5055142 * @summary javac-generated code doesn't obey binary compatibility for enums * @author gafter * ! * @compile EnumSwitch.java ! * @compile Color2.java * @run main EnumSwitch */ enum Color { red, green