< prev index next >

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

Print this page
rev 51258 : imported patch switch
rev 51259 : imported patch switch.01

*** 19,31 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! /** * @test * @bug 8206986 * @compile --enable-preview -source 12 ExpressionSwitchBugs.java * @run main/othervm --enable-preview ExpressionSwitchBugs */ public class ExpressionSwitchBugs { --- 19,32 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! /* * @test * @bug 8206986 + * @summary Verify various corner cases with nested switch expressions. * @compile --enable-preview -source 12 ExpressionSwitchBugs.java * @run main/othervm --enable-preview ExpressionSwitchBugs */ public class ExpressionSwitchBugs {
< prev index next >