< prev index next >

test/langtools/tools/javac/diags/examples/SwitchExpressionEmpty.java

Print this page

        

*** 22,32 **** */ // key: compiler.err.switch.expression.empty // key: compiler.note.preview.filename // key: compiler.note.preview.recompile ! // options: --enable-preview -source 12 class BreakOutsideSwitchExpression { String t(E e) { return switch (e) { }; --- 22,32 ---- */ // key: compiler.err.switch.expression.empty // key: compiler.note.preview.filename // key: compiler.note.preview.recompile ! // options: --enable-preview -source 13 class BreakOutsideSwitchExpression { String t(E e) { return switch (e) { };
< prev index next >