When another tool (an AI agent, a generator) rewrote an open Java file to
call a class or method it added in another file, the open file kept a
"cannot be resolved" error until it was closed and reopened. jdtls
rebuilds sources reported through workspace/didChangeWatchedFiles but
does not re-reconcile the open working copies it already checked. When
the open file's reload reaches it before the new class, the stale
error stays.
After sending Java source changes to jdtls, the open documents are sent
again (resync_documents, as after a configuration change), so jdtls
checks them against the new sources. Changes to other files (pom.xml,
resources) don't trigger it.
Fixes#6986