< prev index next >

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

Print this page

        

*** 23,33 **** /** * @test * @bug 8214114 * @summary Verify try-catch inside a switch expression works properly. ! * @compile --enable-preview -source 12 TryCatch.java * @run main/othervm --enable-preview TryCatch */ public class TryCatch { public static void main(String[] args) { { --- 23,33 ---- /** * @test * @bug 8214114 * @summary Verify try-catch inside a switch expression works properly. ! * @compile --enable-preview -source 13 TryCatch.java * @run main/othervm --enable-preview TryCatch */ public class TryCatch { public static void main(String[] args) { {
< prev index next >