test/langtools/tools/javac/switchexpr/LambdaCapture.java
changeset 59021 cfc7bb9a5a92
parent 55641 4a03245ffc2f
--- a/test/langtools/tools/javac/switchexpr/LambdaCapture.java	Mon Nov 11 17:43:10 2019 -0800
+++ b/test/langtools/tools/javac/switchexpr/LambdaCapture.java	Tue Nov 12 06:32:13 2019 +0000
@@ -26,7 +26,7 @@
  * @bug 8220041
  * @summary Verify variable capture works inside switch expressions which are
  *          inside variable declarations
- * @compile --enable-preview -source ${jdk.version} LambdaCapture.java
+ * @compile LambdaCapture.java
  */
 
 import java.util.Objects;