make/langtools/src/classes/build/tools/symbolgenerator/TransitiveDependencies.java
--- a/make/langtools/src/classes/build/tools/symbolgenerator/TransitiveDependencies.java Thu Oct 19 10:59:02 2017 +0200
+++ b/make/langtools/src/classes/build/tools/symbolgenerator/TransitiveDependencies.java Thu Oct 19 14:16:45 2017 +0200
@@ -39,6 +39,7 @@
import javax.tools.ToolProvider;
import com.sun.tools.javac.api.JavacTaskImpl;
+import com.sun.tools.javac.api.JavacTool;
import com.sun.tools.javac.code.Symbol.ModuleSymbol;
/**
@@ -56,7 +57,7 @@
return ;
}
- JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
+ JavaCompiler compiler = JavacTool.create();
List<String> options = Arrays.asList("-source", "10",
"-target", "10",
"-proc:only",