< prev index next >
test/langtools/tools/javac/switchexpr/ExpressionSwitchBugs.java
Print this page
*** 23,33 ****
/*
* @test
* @bug 8206986 8214529
* @summary Verify various corner cases with nested switch expressions.
! * @compile --enable-preview -source 12 ExpressionSwitchBugs.java
* @run main/othervm --enable-preview ExpressionSwitchBugs
*/
public class ExpressionSwitchBugs {
public static void main(String... args) {
--- 23,33 ----
/*
* @test
* @bug 8206986 8214529
* @summary Verify various corner cases with nested switch expressions.
! * @compile --enable-preview -source 13 ExpressionSwitchBugs.java
* @run main/othervm --enable-preview ExpressionSwitchBugs
*/
public class ExpressionSwitchBugs {
public static void main(String... args) {
< prev index next >