Skip to content

fix(deps): update com.google.errorprone to v2.50.0 - #6823

Closed
renovate-bot wants to merge 1 commit into
apache:masterfrom
renovate-bot:renovate/com.google.errorprone
Closed

renovate-bot wants to merge 1 commit into
apache:masterfrom
renovate-bot:renovate/com.google.errorprone

Conversation

@renovate-bot

@renovate-bot renovate-bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
com.google.errorprone:error_prone_annotations (source) 2.44.0 → 2.50.0 age confidence
com.google.errorprone:error_prone_core (source) 2.44.0 → 2.50.0 age confidence

Release Notes

google/error-prone (com.google.errorprone:error_prone_annotations)

v2.50.0: Error Prone 2.50.0

New checks:

Closed issues: #​5553, #​5649, #​5778

Full changelog: google/error-prone@v2.49.0...v2.50.0

v2.49.0: Error Prone 2.49.0

This release includes several changes to Matcher APIs, and removed some deprecated or problematic APIs:

  • Remove deprecated MethodMatchers.withSignature API, which relies on fragile toString behaviour. Alternatives for matching on method signatures with varargs and type parameters were added in a98a1c5.
  • Removed variableType(Matcher) API. Matchers.variableType(Matcher) uses VariableTree#getType to match variable types, which own't work for lambda parameters with inferred types after JDK-8268850. The recommended replacement is variableType(TypePredicate).
  • Make enclosingPackage return an optional. Module elements are not enclosed by a package, checks using enclosingPackage shouldn't assume an enclosing package exists when processing arbitrary elements.
  • New FieldMatchers API, similar to MethodMatchers (1dd9c3a).

New checks:

Closed issues: #​2283, #​3503, #​5210, #​5289, #​5548, #​5548, #​5554, #​5609, #​5614, #​5656

Full changelog: google/error-prone@v2.48.0...v2.49.0

v2.48.0: Error Prone 2.48.0

Changes:

  • Added support for passing flags with command-line argument files (@-files) (8e84edf)

New checks:

Closed issues: #​5529, #​5537, #​5522, #​5521

Full changelog: google/error-prone@v2.47.0...v2.48.0

v2.47.0: Error Prone 2.47.0

New checks:

Closed issues: #​1811, #​4168, #​5459, #​5460

Full changelog: google/error-prone@v2.46.0...v2.47.0

v2.46.0: Error Prone 2.46.0

Changes:

New checks:

Full changelog: google/error-prone@v2.45.0...v2.46.0

v2.45.0: Error Prone 2.45.0

Changes:

  • Improved compatibility with latest JDK 26 EA builds.

New checks:

Closed issues: #​5335

Full changelog: google/error-prone@v2.44.0...v2.45.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "every 3 weeks on Monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@forking-renovate

forking-renovate Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: build-logic/verification/src/main/kotlin/build-logic.errorprone.gradle.kts
Command failed: ./gradlew -Dorg.gradle.jvmargs=-Xms512m -Xmx512m --console=plain --dependency-verification lenient -q --write-verification-metadata sha256,pgp dependencies

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Could not resolve all artifacts for configuration 'classpath'.
> Could not resolve org.eclipse.jgit:org.eclipse.jgit:7.8.0.202609011348-r.
  Required by:
      settings file 'settings.gradle.kts'
   > Could not resolve org.eclipse.jgit:org.eclipse.jgit:7.8.0.202609011348-r.
      > Could not get resource 'https://plugins.gradle.org/m2/org/eclipse/jgit/org.eclipse.jgit/7.8.0.202609011348-r/org.eclipse.jgit-7.8.0.202609011348-r.pom'.
         > Could not GET 'https://repo.maven.apache.org/maven2/org/eclipse/jgit/org.eclipse.jgit/7.8.0.202609011348-r/org.eclipse.jgit-7.8.0.202609011348-r.pom'. Received status code 429 from server: Too Many Requests

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
There was a failure while populating the build operation queue: The root project is not yet available for build.
> The root project is not yet available for build.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.
==============================================================================

BUILD FAILED in 51s

File name: src/bom-thirdparty/build.gradle.kts
Command failed: ./gradlew -Dorg.gradle.jvmargs=-Xms512m -Xmx512m --console=plain --dependency-verification lenient -q --write-verification-metadata sha256,pgp dependencies

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Could not resolve all artifacts for configuration 'classpath'.
> Could not resolve org.eclipse.jgit:org.eclipse.jgit:7.8.0.202609011348-r.
  Required by:
      settings file 'settings.gradle.kts'
   > Could not resolve org.eclipse.jgit:org.eclipse.jgit:7.8.0.202609011348-r.
      > Could not get resource 'https://plugins.gradle.org/m2/org/eclipse/jgit/org.eclipse.jgit/7.8.0.202609011348-r/org.eclipse.jgit-7.8.0.202609011348-r.pom'.
         > Could not GET 'https://repo.maven.apache.org/maven2/org/eclipse/jgit/org.eclipse.jgit/7.8.0.202609011348-r/org.eclipse.jgit-7.8.0.202609011348-r.pom'. Received status code 429 from server: Too Many Requests

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
There was a failure while populating the build operation queue: The root project is not yet available for build.
> The root project is not yet available for build.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.
==============================================================================

BUILD FAILED in 16s

@renovate-bot
renovate-bot force-pushed the renovate/com.google.errorprone branch from a221988 to 96874dc Compare October 1, 2026 13:51
@renovate-bot renovate-bot changed the title fix(deps): update com.google.errorprone fix(deps): update com.google.errorprone to v2.50.0 Oct 1, 2026
milamberspace added a commit that referenced this pull request Oct 1, 2026
Error Prone 2.50.0 reports 183 new warnings, which fail the build
with -Werror:

- ReferenceEquality (100 hits in 47 files) and JdkObsolete (77 hits in
  43 files, charset-name APIs such as getBytes(String)) are disabled for
  now and listed with the other checks to analyze. Many of the
  ReferenceEquality hits are intentional identity comparisons of
  TestElements, so the suggested Objects.equals fix is not safe to apply
  blindly. ListedHashTree documents its identity semantics (Bug 50898)
  with @SuppressWarnings so the check can be re-enabled later.
- PreferThrowsTag: use @throws instead of @exception in javadoc
- NotJavadoc: drop empty /** */ blocks above serialVersionUID and the
  orphan javadoc of commented-out methods in JavaSampler and ContextMap
- InvalidLink: CookiePanel#DEFAULT_IMPLEMENTATION no longer exists
  (HC4CookieHandler is the only CookieHandler), drop the stale reference
- ExposedPrivateType: TristateCheckBox#getTristateModel returned a
  private type and is only used internally, make it private

Supersedes #6823.

Generated-by: Claude Code (Claude Opus 5.5)
@milamberspace

Copy link
Copy Markdown
Contributor

Thanks Renovate. Superseded by 9d8ebd1. Error Prone 2.50.0 reports 183 new warnings that fail the build with -Werror: the small ones (PreferThrowsTag, NotJavadoc, InvalidLink, ExposedPrivateType) are fixed, while ReferenceEquality (100 hits, many intentional identity comparisons) and JdkObsolete (77 charset-name APIs) are disabled for now and tracked for a follow-up. Closing.

@renovate-bot
renovate-bot deleted the renovate/com.google.errorprone branch October 1, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants