test/langtools/tools/javac/switchexpr/ExpressionSwitchIntersectionTypes.java
changeset 53023 6879069d9d94
parent 51563 de411d537aae
child 53878 4584d0331318
--- a/test/langtools/tools/javac/switchexpr/ExpressionSwitchIntersectionTypes.java	Thu Dec 13 17:01:15 2018 +0100
+++ b/test/langtools/tools/javac/switchexpr/ExpressionSwitchIntersectionTypes.java	Thu Dec 13 19:06:11 2018 +0100
@@ -25,7 +25,7 @@
  * @test
  * @bug 8206986
  * @summary Verify behavior when an intersection type is inferred for switch expression.
- * @compile --enable-preview -source 12 ExpressionSwitchIntersectionTypes.java
+ * @compile --enable-preview -source 13 ExpressionSwitchIntersectionTypes.java
  * @run main/othervm --enable-preview ExpressionSwitchIntersectionTypes
  */