test/langtools/tools/javac/switchexpr/TryCatchFinally.java
changeset 59021 cfc7bb9a5a92
parent 55340 ef577fa0dd10
--- a/test/langtools/tools/javac/switchexpr/TryCatchFinally.java	Mon Nov 11 17:43:10 2019 -0800
+++ b/test/langtools/tools/javac/switchexpr/TryCatchFinally.java	Tue Nov 12 06:32:13 2019 +0000
@@ -25,8 +25,8 @@
  * @test
  * @bug 8220018
  * @summary Verify that try-catch-finally inside a switch expression works properly.
- * @compile --enable-preview -source ${jdk.version} TryCatchFinally.java
- * @run main/othervm --enable-preview TryCatchFinally
+ * @compile TryCatchFinally.java
+ * @run main TryCatchFinally
  */
 public class TryCatchFinally {//TODO: yield <double>
     public static void main(String[] args) {