rev 56806 : 8232684: Make switch expressions final Reviewed-by: TBD
*** 20,30 **** * or visit www.oracle.com if you need additional information or have any * questions. */ // key: compiler.err.no.switch.expression - // options: --enable-preview --source ${jdk.version} class BreakComplexValueNoSwitchExpressions { void t() { while (true) { yield 1 + 1; --- 20,29 ----