test/langtools/tools/javac/switchexpr/ParseIncomplete.java
changeset 53023 6879069d9d94
parent 51563 de411d537aae
child 53878 4584d0331318
--- a/test/langtools/tools/javac/switchexpr/ParseIncomplete.java	Thu Dec 13 17:01:15 2018 +0100
+++ b/test/langtools/tools/javac/switchexpr/ParseIncomplete.java	Thu Dec 13 19:06:11 2018 +0100
@@ -67,7 +67,7 @@
             StringWriter out = new StringWriter();
             try {
                 JavacTask ct = (JavacTask) tool.getTask(out, null, noErrors,
-                    List.of("-XDdev", "--enable-preview", "-source", "12"), null,
+                    List.of("-XDdev", "--enable-preview", "-source", "13"), null,
                     Arrays.asList(new MyFileObject(code)));
                 ct.parse().iterator().next();
             } catch (Throwable t) {