< prev index next >

test/langtools/tools/javac/switchextra/SwitchStatementBroken.java

Print this page
rev 56510 : 8232684: Make switch expressions final
Reviewed-by: TBD

@@ -1,10 +1,10 @@
 /*
  * @test /nodynamiccopyright/
  * @bug 8206986
  * @summary Verify that rule and ordinary cases cannot be mixed.
- * @compile/fail/ref=SwitchStatementBroken.out -XDrawDiagnostics --enable-preview -source ${jdk.version} SwitchStatementBroken.java
+ * @compile/fail/ref=SwitchStatementBroken.out -XDrawDiagnostics SwitchStatementBroken.java
  */
 
 public class SwitchStatementBroken {
 
     private void statementBroken(int i) {
< prev index next >