mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8135131: Enable thin server mode in Sjavac
State tracknig and incremental compilation disabled unless --state-dir is provided. Reviewed-by: jlahoda
This commit is contained in:
parent
2a12715485
commit
6238d40db4
25 changed files with 304 additions and 182 deletions
|
@ -89,7 +89,7 @@ public class ApiExtraction {
|
|||
new ToolBox().new JavacTask().sources(testSrc).run();
|
||||
|
||||
// Extract PubApi
|
||||
Options options = Options.parseArgs("-d", "bin", "-cp", ".");
|
||||
Options options = Options.parseArgs("-d", "bin", "--state-dir=bin", "-cp", ".");
|
||||
PubApiExtractor pubApiExtr = new PubApiExtractor(options);
|
||||
PubApi actualApi = pubApiExtr.getPubApi("TestClass");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue