< prev index next >
test/langtools/tools/javac/diags/examples/MultipleCaseLabels.java
Print this page
rev 56510 : 8232684: Make switch expressions final
Reviewed-by: TBD
@@ -20,12 +20,12 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
// key: compiler.misc.feature.multiple.case.labels
-// key: compiler.warn.preview.feature.use.plural
-// options: --enable-preview -source ${jdk.version} -Xlint:preview
+// key: compiler.err.feature.not.supported.in.source.plural
+// options: -Xlint:-options -source 13
class MultipleCaseLabels {
void m(int i) {
switch (i) {
case 0, 1, 2: break;
< prev index next >