Cross-module references still broken after #15 fix #18

Closed
opened 2026-03-07 15:20:20 +00:00 by automation · 0 comments
Collaborator

Retesting cross-module reference resolution after the fix for #15 was deployed.

Workspace: 29 Maven modules (rdf: 4, platform: 25), all imported, status: ready. Java 25, jdt_get_compilation_errors reports 0 errors.

jdt_find_references cross-module

VocabCg (TYPE) in culinarygraph-rdf-api, used in 13 files across rdf-rdf4j and platform:

  • Result: referenceCount: 0 — expected ~13+

VocabCg#CACHED_AT (FIELD) in rdf-api, used in 3 platform files (12 occurrences):

  • Result: referenceCount: 0 — expected 12

Control: VocabIriFactory (TYPE, same module):

  • Result: referenceCount: 238 — all within culinarygraph-rdf-api

Intra-module works. Cross-module returns 0.

jdt_rename_element crashes

jdt_rename_element("com.culinarygraph.rdf.vocab.VocabCg#CACHED_AT", "CACHED_TIMESTAMP", "FIELD")
→ ERROR: IllegalArgumentException: Error during rename: null

Both with preview=true and preview=false. This is worse than #15 where rename at least succeeded on the declaration (with childCount: 0).

Summary

Operation Intra-module Cross-module
jdt_find_references works (238 refs) returns 0
jdt_rename_element untested crashes (IllegalArgumentException: null)
jdt_get_compilation_errors correct correct

JDT search scope does not include dependent projects even though all 29 are imported and compilation works.

Retesting cross-module reference resolution after the fix for #15 was deployed. Workspace: 29 Maven modules (rdf: 4, platform: 25), all imported, status: ready. Java 25, jdt_get_compilation_errors reports 0 errors. ## jdt_find_references cross-module **VocabCg (TYPE)** in culinarygraph-rdf-api, used in 13 files across rdf-rdf4j and platform: - Result: `referenceCount: 0` — expected ~13+ **VocabCg#CACHED_AT (FIELD)** in rdf-api, used in 3 platform files (12 occurrences): - Result: `referenceCount: 0` — expected 12 **Control: VocabIriFactory (TYPE, same module)**: - Result: `referenceCount: 238` — all within culinarygraph-rdf-api Intra-module works. Cross-module returns 0. ## jdt_rename_element crashes ``` jdt_rename_element("com.culinarygraph.rdf.vocab.VocabCg#CACHED_AT", "CACHED_TIMESTAMP", "FIELD") → ERROR: IllegalArgumentException: Error during rename: null ``` Both with `preview=true` and `preview=false`. This is worse than #15 where rename at least succeeded on the declaration (with `childCount: 0`). ## Summary | Operation | Intra-module | Cross-module | |-----------|-------------|-------------| | jdt_find_references | ✅ works (238 refs) | ❌ returns 0 | | jdt_rename_element | untested | ❌ crashes (IllegalArgumentException: null) | | jdt_get_compilation_errors | ✅ correct | ✅ correct | JDT search scope does not include dependent projects even though all 29 are imported and compilation works.
fred closed this issue 2026-03-07 15:31:38 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ai-tools/jdt-mcp-server#18
No description provided.