test/tools/javac/enum/ExplicitlyAbstractEnum2.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 5009601
  * @summary enum's cannot be explicitly declared abstract even if they are abstract
  * @author Joseph D. Darcy
  *
- * @compile/fail -source 1.5 ExplicitlyAbstractEnum2.java
+ * @compile/fail ExplicitlyAbstractEnum2.java
  */
 
 abstract enum ExplicitlyAbstractEnum2 {
     FE {
         void foo() {return;}