< prev index next >

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

Print this page
rev 56806 : 8232684: Make switch expressions final
Reviewed-by: TBD

*** 23,34 **** /* * @test * @bug 8206986 * @summary Check fall through in switch expressions. ! * @compile --enable-preview -source ${jdk.version} ExpressionSwitchFallThrough1.java ! * @run main/othervm --enable-preview ExpressionSwitchFallThrough1 */ import java.util.Objects; public class ExpressionSwitchFallThrough1 { --- 23,34 ---- /* * @test * @bug 8206986 * @summary Check fall through in switch expressions. ! * @compile ExpressionSwitchFallThrough1.java ! * @run main ExpressionSwitchFallThrough1 */ import java.util.Objects; public class ExpressionSwitchFallThrough1 {
< prev index next >