--- old/test/langtools/tools/javac/switchexpr/ExhaustiveEnumSwitch.java 2018-12-05 13:52:21.126927633 -0800 +++ new/test/langtools/tools/javac/switchexpr/ExhaustiveEnumSwitch.java 2018-12-05 13:52:20.935023626 -0800 @@ -25,7 +25,7 @@ * @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 */