8177014: tools/javac/tree/TreePosTest.java test fails with IllegalArgumentException
Reviewed-by: redestad
This commit is contained in:
parent
80330fc21e
commit
833ecc754c
@ -281,8 +281,7 @@ public class TreePosTest {
|
||||
JavacTool tool = JavacTool.create();
|
||||
r.errors = 0;
|
||||
Iterable<? extends JavaFileObject> files = fm.getJavaFileObjects(file);
|
||||
JavacTask task = tool.getTask(pw, fm, r, Collections.<String>emptyList(),
|
||||
List.of("-proc:none"), files);
|
||||
JavacTask task = tool.getTask(pw, fm, r, List.of("-proc:none"), null, files);
|
||||
Iterable<? extends CompilationUnitTree> trees = task.parse();
|
||||
pw.flush();
|
||||
if (r.errors > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user