test/tools/javac/enum/FauxSpecialEnum1.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 5009601
  * @summary verify specialized enum classes can't be abstract
  * @author Joseph D. Darcy
  *
- * @compile/fail -source 1.5 FauxSpecialEnum1.java
+ * @compile/fail FauxSpecialEnum1.java
  */
 
 public enum FauxSpecialEnum1 {
     INFRARED {
         void test() {System.out.println("Concrete test");}