test/tools/javac/enum/LocalEnum.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 5019609
  * @summary javac fails to reject local enums
  * @author gafter
  *
- * @compile/fail -source 1.5 LocalEnum.java
+ * @compile/fail LocalEnum.java
  */
 
 public class LocalEnum {
     void f() {
         enum B {}