< prev index next >
test/langtools/tools/javac/switchexpr/ExpressionSwitchDA.java
Print this page
*** 23,33 ****
/*
* @test
* @bug 8206986
* @summary Check definite (un)assignment for in switch expressions.
! * @compile --enable-preview -source 12 ExpressionSwitchDA.java
* @run main/othervm --enable-preview ExpressionSwitchDA
*/
public class ExpressionSwitchDA {
public static void test1() {
--- 23,33 ----
/*
* @test
* @bug 8206986
* @summary Check definite (un)assignment for in switch expressions.
! * @compile --enable-preview -source 13 ExpressionSwitchDA.java
* @run main/othervm --enable-preview ExpressionSwitchDA
*/
public class ExpressionSwitchDA {
public static void test1() {
< prev index next >