Skip to content

chore: enable errorprone - #2326

Open
maxandersen wants to merge 2 commits into
jbangdev:mainfrom
maxandersen:errorprone
Open

maxandersen wants to merge 2 commits into
jbangdev:mainfrom
maxandersen:errorprone

Conversation

@maxandersen

@maxandersen maxandersen commented Nov 20, 2025 •

Copy link
Copy Markdown
Collaborator

Enable Error Prone static analysis.

Now that the build uses JDK 25, the original blocker (errorprone requires JDK 21+) is gone. This is just the 2-line addition — no toolchain or sourceSet changes needed.

  • net.ltgt.errorprone plugin v5.1.0
  • error_prone_core v2.50.0

Expected: CI will fail with 7 BoxedPrimitiveEquality errors (comparing Boolean with ==/!= instead of .equals()) — these are real bugs that will be fixed in follow-up commits.

@coderabbitai

coderabbitai Bot commented Jul 12, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • ai-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 25f163f9-8b49-42df-971e-bc1e4630d797

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@maxandersen maxandersen changed the title chore: enable errorprone just for kicks chore: enable errorprone Jul 12, 2026
…ison

Fixes 7 BoxedPrimitiveEquality bugs found by errorprone. Reference
equality on Boolean works by accident for autoboxed values (cached)
but fails for deserialized or explicitly constructed Boolean objects.

This branch has not been deployed

No deployments
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.

1 participant