test/tools/javac/enum/TrailingComma.java

Print this page

        

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