test/langtools/tools/javac/switchexpr/ExpressionSwitchFallThrough1.java
changeset 59021 cfc7bb9a5a92
parent 55306 ea43db53de91
equal deleted inserted replaced
59020:aebd72de84b0 59021:cfc7bb9a5a92
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 8206986
    26  * @bug 8206986
    27  * @summary Check fall through in switch expressions.
    27  * @summary Check fall through in switch expressions.
    28  * @compile --enable-preview -source ${jdk.version} ExpressionSwitchFallThrough1.java
    28  * @compile ExpressionSwitchFallThrough1.java
    29  * @run main/othervm --enable-preview ExpressionSwitchFallThrough1
    29  * @run main ExpressionSwitchFallThrough1
    30  */
    30  */
    31 
    31 
    32 import java.util.Objects;
    32 import java.util.Objects;
    33 
    33 
    34 public class ExpressionSwitchFallThrough1 {
    34 public class ExpressionSwitchFallThrough1 {