< prev index next >
test/langtools/tools/javac/switchexpr/ExpressionSwitchFallThrough1.java
Print this page
rev 56510 : 8232684: Make switch expressions final
Reviewed-by: TBD
@@ -23,12 +23,12 @@
/*
* @test
* @bug 8206986
* @summary Check fall through in switch expressions.
- * @compile --enable-preview -source ${jdk.version} ExpressionSwitchFallThrough1.java
- * @run main/othervm --enable-preview ExpressionSwitchFallThrough1
+ * @compile ExpressionSwitchFallThrough1.java
+ * @run main ExpressionSwitchFallThrough1
*/
import java.util.Objects;
public class ExpressionSwitchFallThrough1 {
< prev index next >