< prev index next >

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

Print this page
rev 56510 : 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.invalid.yield - // options: --enable-preview --source ${jdk.version} class BreakComplexValueNoSwitchExpressions { void t() { while (true) { yield(1, 2); --- 20,29 ----
< prev index next >