< prev index next >

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

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

@@ -23,12 +23,12 @@
 
 /*
  * @test
  * @bug 8206986 8214114 8214529
  * @summary Verify various corner cases with nested switch expressions.
- * @compile --enable-preview -source ${jdk.version} ExpressionSwitchBugs.java
- * @run main/othervm --enable-preview ExpressionSwitchBugs
+ * @compile ExpressionSwitchBugs.java
+ * @run main ExpressionSwitchBugs
  */
 
 public class ExpressionSwitchBugs {
     public static void main(String... args) {
         new ExpressionSwitchBugs().testNested();
< prev index next >