8188013: symbolgenerator targets jdk 9 source

Reviewed-by: erikj
This commit is contained in:
Magnus Ihse Bursie 2017-09-27 11:38:21 +02:00
parent 81f0285c52
commit 26f4eca08c

View File

@ -57,8 +57,8 @@ public class TransitiveDependencies {
} }
JavaCompiler compiler = ToolProvider.getSystemJavaCompiler(); JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
List<String> options = Arrays.asList("-source", "9", List<String> options = Arrays.asList("-source", "10",
"-target", "9", "-target", "10",
"-proc:only", "-proc:only",
"--system", "none", "--system", "none",
"--module-source-path", args[0], "--module-source-path", args[0],