Skip to content

#45 Bump com.google.errorprone:error_prone_core to 2.49.0#49

Merged
fabian-barney merged 2 commits into
mainfrom
codex/pr-45-errorprone-2-49-0
Apr 12, 2026
Merged

#45 Bump com.google.errorprone:error_prone_core to 2.49.0#49
fabian-barney merged 2 commits into
mainfrom
codex/pr-45-errorprone-2-49-0

Conversation

@fabian-barney

Copy link
Copy Markdown
Owner

Implementation Summary

  • Scope: refresh the error_prone_core 2.49.0 bump from PR Bump com.google.errorprone:error_prone_core from 2.48.0 to 2.49.0 #45 onto current main.
  • Key changes: update pom.xml from 2.48.0 to 2.49.0 and validate the full PR workflow commands on current main.
  • Non-goals: no source-code changes, no behavior changes, and no dependency additions beyond the requested version bump.

Validation

  • Tests executed: ./mvnw -B -ntp -Pnullaway test; ./mvnw -B -ntp -P!quality-gates-all,quality-gate-crap verify; ./mvnw -B -ntp -P!quality-gates-all,quality-gate-cognitive verify
  • Manual checks: confirmed the repository does not use the Error Prone APIs removed in 2.49.0.
  • Residual risks: the original dependabot PR Bump com.google.errorprone:error_prone_core from 2.48.0 to 2.49.0 #45 failed on its older branch state; this replacement PR is validated on current main.

Supersedes #45.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refreshes the com.google.errorprone:error_prone_core dependency bump onto current main, keeping the build’s Error Prone / NullAway toolchain up to date without altering production code behavior.

Changes:

  • Bump error_prone_core from 2.48.0 to 2.49.0 via the shared Maven property in pom.xml.

Copy link
Copy Markdown
Owner Author

Follow-up after the failing pipeline repro:

The failing -Pnullaway job was not caused by project source code. A clean compile with error_prone_core=2.49.0 failed while initializing NullAway:

  • java.lang.NoClassDefFoundError: com/google/errorprone/predicates/type/DescendantOf

NullAway 0.13.1 still referenced an Error Prone API removed in 2.49.0. I aligned nullaway.version to 0.13.2, which is the first NullAway release that explicitly updates to Error Prone 2.49.0.

Clean local validation after the fix:

  • ./mvnw -B -ntp -Pnullaway clean test
  • ./mvnw -B -ntp -P!quality-gates-all,quality-gate-crap clean verify
  • ./mvnw -B -ntp -P!quality-gates-all,quality-gate-cognitive clean verify

@fabian-barney fabian-barney merged commit 1012f22 into main Apr 12, 2026
6 checks passed
@fabian-barney fabian-barney deleted the codex/pr-45-errorprone-2-49-0 branch April 12, 2026 11:02
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