Skip to content

Split big-window rule per source kind; add Java 8 checker-qual override docs - #128

Merged
bernardladenthin merged 2 commits into
mainfrom
claude/checker-qual-java8-compat-648x0s
Jun 30, 2026
Merged

Split big-window rule per source kind; add Java 8 checker-qual override docs#128
bernardladenthin merged 2 commits into
mainfrom
claude/checker-qual-java8-compat-648x0s

Conversation

@bernardladenthin

Copy link
Copy Markdown
Owner

Summary

  • Split the big-window size-routing rule in the example POM configuration: the single big-window rule is now big-window-java (routing to file-body-java prompt) and big-window-sql (routing to file-body-sql prompt). This ensures oversized .sql files are routed to the large-context model while keeping their SQL-specific prompt, instead of being uncovered or misrouted.
  • Added Java 8 compatibility documentation in README.md explaining how to override checker-qual to version 3.55.1 (the last Java 8 bytecode release) when running the plugin under Java 8, since the plugin's transitive dependency on checker-qual 4.2.0 ships Java 11 bytecode that fails to load on Java 8 JVMs.
  • Updated comments in pom.xml and README.md to reflect the plural "rules" and new rule IDs.

Test plan

  • No new unit/integration tests needed; this is a configuration example and documentation update.
  • Existing tests pass (no code logic changes).
  • CI is green.

Related issues / PRs

None.

Checklist

  • I have read CONTRIBUTING.md and CODE_OF_CONDUCT.md
  • My commits follow Conventional Commits
  • No security-sensitive changes

https://claude.ai/code/session_01KGLKH56bKYVWcv4XAfKe8Y

claude added 2 commits June 30, 2026 17:51
The plugin builds against checker-qual 4.2.0, whose classes are Java 11
bytecode (major 55) and fail to load on a Java 8 JVM. Document that
running the plugin under Java 8 requires overriding checker-qual to
3.55.1 (last release with Java 8 bytecode; 4.0.0 switched to Java 11)
via the plugin's own <dependencies> block.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KGLKH56bKYVWcv4XAfKe8Y
…dow-java

The big-window oversized-file fallback only existed for .java sources.
Split it into a per-kind pair mirroring the plain java/sql rules:
big-window-java (file-body-java) and the missing big-window-sql
(file-body-sql), both routing oversized sources to the large-context
granite-4.0-h-tiny-bigwindow model at priority 100. An oversized .sql
file now keeps the SQL prompt instead of falling through.

Updated the model-comment, README, and CHANGELOG references accordingly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KGLKH56bKYVWcv4XAfKe8Y
@bernardladenthin
bernardladenthin merged commit e4ad1d8 into main Jun 30, 2026
8 of 10 checks passed
@bernardladenthin
bernardladenthin deleted the claude/checker-qual-java8-compat-648x0s branch June 30, 2026 17:57
@sonarqubecloud

Copy link
Copy Markdown

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