test/tools/javac/enum/ExplicitlyFinalEnum1.java

Print this page

        

*** 25,35 **** * @test * @bug 5009601 * @summary enum's cannot be explicitly declared final even if they are * @author Joseph D. Darcy * ! * @compile/fail -source 1.5 ExplicitlyFinalEnum1.java */ final enum ExplicitlyFinalEnum1 { FE, FI, --- 25,35 ---- * @test * @bug 5009601 * @summary enum's cannot be explicitly declared final even if they are * @author Joseph D. Darcy * ! * @compile/fail ExplicitlyFinalEnum1.java */ final enum ExplicitlyFinalEnum1 { FE, FI,