< prev index next >

test/langtools/tools/javac/switchexpr/BooleanNumericNonNumeric.java

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

@@ -1,10 +1,10 @@
 /*
  * @test /nodynamiccopyright/
  * @bug 8206986
  * @summary Verify the type of a conditional expression with nested switch expression is computed properly
- * @compile/fail/ref=BooleanNumericNonNumeric.out -XDrawDiagnostics --enable-preview -source ${jdk.version} BooleanNumericNonNumeric.java
+ * @compile/fail/ref=BooleanNumericNonNumeric.out -XDrawDiagnostics BooleanNumericNonNumeric.java
  */
 
 public class BooleanNumericNonNumeric {
 
     private void test(boolean b, int i) {
< prev index next >