From 145ddaa393359d16b233da52e7de47b978323fbe Mon Sep 17 00:00:00 2001 From: Jan Lahoda Date: Sat, 2 Feb 2019 16:58:16 +0100 Subject: [PATCH] Update JavaCompletionTask.java --- .../org/netbeans/modules/java/completion/JavaCompletionTask.java | 1 + 1 file changed, 1 insertion(+) 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;