Update classpath on output folders content changes

This commit is contained in:
aboyko
2023-05-17 22:47:23 -04:00
parent 20422681a5
commit 8a646553f0
2 changed files with 42 additions and 6 deletions

View File

@@ -360,10 +360,6 @@ public class JdtLsProjectCache implements InitializableJavaProjectsService, Serv
URI projectUri = new URI(uri);
ClasspathData classpath = new ClasspathData(event.name, event.classpath.getEntries());
IJavaProject oldProject = table.get(uri);
if (oldProject != null && classpath.equals(oldProject.getClasspath())) {
// nothing has changed
return;
}
IProjectBuild projectBuild = from(event.projectBuild);
IJavaProject newProject = IS_JANDEX_INDEX
? new JavaProject(getFileObserver(), projectUri, classpath,