< prev index next >
test/langtools/tools/javac/switchexpr/ExhaustiveEnumSwitch.java
Print this page
@@ -23,11 +23,11 @@
/*
* @test
* @bug 8206986
* @summary Verify that an switch expression over enum can be exhaustive without default.
- * @compile --enable-preview -source 12 ExhaustiveEnumSwitch.java
+ * @compile --enable-preview -source 13 ExhaustiveEnumSwitch.java
* @compile ExhaustiveEnumSwitchExtra.java
* @run main/othervm --enable-preview ExhaustiveEnumSwitch
*/
public class ExhaustiveEnumSwitch {
< prev index next >