diff --git a/java/java.completion/src/org/netbeans/modules/java/completion/JavaCompletionTask.java b/java/java.completion/src/org/netbeans/modules/java/completion/JavaCompletionTask.java index 6daf24be42cf..07c0c5324e6d 100644 --- a/java/java.completion/src/org/netbeans/modules/java/completion/JavaCompletionTask.java +++ b/java/java.completion/src/org/netbeans/modules/java/completion/JavaCompletionTask.java @@ -285,6 +285,7 @@ public int getAnchorOffset() { @Override protected void resolve(CompilationController controller) throws IOException { + controller.getChangedTree(); Env env = getCompletionEnvironment(controller, true); if (env == null) { return;