Skip to content

Add SCIP javac plugin to test annotation processor path#961

Merged
jupblb merged 2 commits into
mainfrom
bmarcaurele/speculative-fix-for-annotation-issue
Jul 2, 2026
Merged

Add SCIP javac plugin to test annotation processor path#961
jupblb merged 2 commits into
mainfrom
bmarcaurele/speculative-fix-for-annotation-issue

Conversation

@jupblb

@jupblb jupblb commented Jul 2, 2026

Copy link
Copy Markdown
Member

javac loads -Xplugin: plugins from the processor path when -processorpath is set, so compileTestJava failed with plug-in not found: scip in projects declaring test-scoped annotation processors.

Rebased from #826: adds the plugin to testAnnotationProcessor, gating each configuration on its own declared processors (test does not extend main). Includes a regression test fixture.

Verified against a real repo (joutvhu/spring-dynamic-jpa): indexing fails on origin/main, succeeds with this change.

@jupblb jupblb merged commit 55f18f3 into main Jul 2, 2026
23 checks passed
@jupblb jupblb deleted the bmarcaurele/speculative-fix-for-annotation-issue branch July 2, 2026 10:54
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.

2 participants