test/tools/javac/enum/TrailingComma.java

Print this page

        

*** 25,35 **** * @test * @bug 4936392 * @summary enum spec allows trailing comma on enum constant list * @author gafter * ! * @compile -source 1.5 TrailingComma.java */ class TrailingComma { enum a { , }; enum b { x , }; --- 25,35 ---- * @test * @bug 4936392 * @summary enum spec allows trailing comma on enum constant list * @author gafter * ! * @compile TrailingComma.java */ class TrailingComma { enum a { , }; enum b { x , };