test/tools/javac/enum/EnumSwitch2.java

Print this page

        

*** 25,35 **** * @test * @bug 4936393 * @summary enum switch case labels required to be unqualified. * @author gafter * ! * @compile/fail -source 1.5 EnumSwitch2.java */ package enumswitch2; enum E1 { a, b, c, d, e } --- 25,35 ---- * @test * @bug 4936393 * @summary enum switch case labels required to be unqualified. * @author gafter * ! * @compile/fail EnumSwitch2.java */ package enumswitch2; enum E1 { a, b, c, d, e }