test/tools/javac/enum/EnumSwitch2.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 4936393
  * @summary enum switch case labels required to be unqualified.
  * @author gafter
  *
- * @compile/fail -source 1.5 EnumSwitch2.java
+ * @compile/fail EnumSwitch2.java
  */
 
 package enumswitch2;
 
 enum E1 { a, b, c, d, e }