test/tools/javac/enum/FauxEnum1.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 5009574
  * @summary verify java.lang.Enum can't be directly subclassed
  * @author Joseph D. Darcy
  *
- * @compile/fail -source 1.5 FauxEnum1.java
+ * @compile/fail FauxEnum1.java
  */
 
 public class FauxEnum1 extends java.lang.Enum {
     private FauxEnum1() {
         // super("", 0);