test/tools/javac/enum/ExplicitlyFinalEnum2.java

Print this page

        

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