--- a/langtools/test/tools/javac/tree/TreePosTest.java Thu Mar 16 17:56:00 2017 +0000
+++ b/langtools/test/tools/javac/tree/TreePosTest.java Thu Mar 16 14:40:39 2017 -0700
@@ -281,7 +281,8 @@
JavacTool tool = JavacTool.create();
r.errors = 0;
Iterable<? extends JavaFileObject> files = fm.getJavaFileObjects(file);
- JavacTask task = tool.getTask(pw, fm, r, Collections.<String>emptyList(), null, files);
+ JavacTask task = tool.getTask(pw, fm, r, Collections.<String>emptyList(),
+ List.of("-proc:none"), files);
Iterable<? extends CompilationUnitTree> trees = task.parse();
pw.flush();
if (r.errors > 0)