equal
deleted
inserted
replaced
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 // key: compiler.err.switch.mixing.case.types |
24 // key: compiler.err.switch.mixing.case.types |
25 // key: compiler.note.preview.filename |
|
26 // key: compiler.note.preview.recompile |
|
27 // options: --enable-preview -source ${jdk.version} |
|
28 |
25 |
29 class SwitchMixingCaseTypes { |
26 class SwitchMixingCaseTypes { |
30 |
27 |
31 void test(int i) { |
28 void test(int i) { |
32 switch (i) { |
29 switch (i) { |