< prev index next >

test/langtools/tools/javac/switchexpr/ExpressionSwitchInExpressionSwitch.java

Print this page

        

*** 23,33 **** /* * @test * @bug 8206986 * @summary Check switch expressions embedded in switch expressions. ! * @compile --enable-preview -source 12 ExpressionSwitchInExpressionSwitch.java * @run main/othervm --enable-preview ExpressionSwitchInExpressionSwitch */ public class ExpressionSwitchInExpressionSwitch { public static void main(String[] args) { --- 23,33 ---- /* * @test * @bug 8206986 * @summary Check switch expressions embedded in switch expressions. ! * @compile --enable-preview -source 13 ExpressionSwitchInExpressionSwitch.java * @run main/othervm --enable-preview ExpressionSwitchInExpressionSwitch */ public class ExpressionSwitchInExpressionSwitch { public static void main(String[] args) {
< prev index next >