Skip to content

fix: invalidate JDTLS workspace cache when Java import settings change#1576

Open
zerone0x wants to merge 1 commit into
oraios:mainfrom
zerone0x:fix/jdtls-workspace-hash-config-1541
Open

fix: invalidate JDTLS workspace cache when Java import settings change#1576
zerone0x wants to merge 1 commit into
oraios:mainfrom
zerone0x:fix/jdtls-workspace-hash-config-1541

Conversation

@zerone0x

Copy link
Copy Markdown
Contributor

Fixes #1541.

This mixes workspace-affecting Java LS settings into the JDTLS workspace hash so changes to Maven/Gradle import config trigger a fresh workspace instead of silently reusing stale caches.

Tests: uv run ruff check src/solidlsp/language_servers/eclipse_jdtls.py test/solidlsp/java/test_jdtls_path_resolution.py
uv run pytest test/solidlsp/java/test_jdtls_path_resolution.py -q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JDTLS workspace cache is not invalidated when ls_specific_settings changes, causing silent project import failures

1 participant