test/tools/javac/enum/AbstractEmptyEnum.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 5009601
  * @summary empty enum cannot be abstract
  * @author Joseph D. Darcy
  *
- * @compile/fail -source 1.5 AbstractEmptyEnum.java
+ * @compile/fail AbstractEmptyEnum.java
  */
 
 public enum AbstractEmptyEnum {
     ;
     abstract void m();