< prev index next >

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

Print this page
rev 56806 : 8232684: Make switch expressions final
Reviewed-by: TBD

*** 20,32 **** * or visit www.oracle.com if you need additional information or have any * questions. */ // key: compiler.err.switch.mixing.case.types - // key: compiler.note.preview.filename - // key: compiler.note.preview.recompile - // options: --enable-preview -source ${jdk.version} class SwitchMixingCaseTypes { void test(int i) { switch (i) { --- 20,29 ----
< prev index next >