< prev index next >

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

Print this page

        

*** 23,33 **** /* * @test * @bug 8206986 * @summary Check fall through in switch expressions. ! * @compile --enable-preview -source 12 ExpressionSwitchFallThrough.java * @run main/othervm --enable-preview ExpressionSwitchFallThrough */ import java.util.Objects; import java.util.function.Function; --- 23,33 ---- /* * @test * @bug 8206986 * @summary Check fall through in switch expressions. ! * @compile --enable-preview -source 13 ExpressionSwitchFallThrough.java * @run main/othervm --enable-preview ExpressionSwitchFallThrough */ import java.util.Objects; import java.util.function.Function;
< prev index next >