Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 23, 2025

Bumps errorProneVersion from 2.42.0 to 2.43.0.
Updates com.google.errorprone:error_prone_annotations from 2.42.0 to 2.43.0

Release notes

Sourced from com.google.errorprone:error_prone_annotations's releases.

Error Prone 2.43.0

The minimum support JDK version to run Error Prone is now JDK 21 (google/error-prone#4867).

Changes:

  • -XepPatchChecks now skips disabled checks (#4943)
  • AndroidJdkLibsChecker has been removed, the recommended replacement for Android code is Android Lint's NewApi check

New checks:

Closed issues: #4943, #5102, #5107, #5121, #5158, #5217, #5239

Full changelog: google/error-prone@v2.42.0...v2.43.0

Commits
  • abec9b6 Release Error Prone 2.43.0
  • a97374a Upgrade Java version from 17 to 21 in release workflow
  • 5882a43 Update release.yml
  • 851e0b0 Remove obsolete uses of reflection from Error Prone
  • 344e3dc Remove an obsolete use of reflection
  • 5f46e62 Fix a typo (wrong quotation mark).
  • de7d191 Update IncorrectMainMethod documentation in light of JEP512.
  • 09c78e0 Remove an obsolete TODO
  • 17c271e Turn down AndroidJdkLibsChecker
  • 0ae79f5 Add tests for subtypes of Immutable and ThreadSafe classes
  • Additional commits viewable in compare view

Updates com.google.errorprone:error_prone_core from 2.42.0 to 2.43.0

Release notes

Sourced from com.google.errorprone:error_prone_core's releases.

Error Prone 2.43.0

The minimum support JDK version to run Error Prone is now JDK 21 (google/error-prone#4867).

Changes:

  • -XepPatchChecks now skips disabled checks (#4943)
  • AndroidJdkLibsChecker has been removed, the recommended replacement for Android code is Android Lint's NewApi check

New checks:

Closed issues: #4943, #5102, #5107, #5121, #5158, #5217, #5239

Full changelog: google/error-prone@v2.42.0...v2.43.0

Commits
  • abec9b6 Release Error Prone 2.43.0
  • a97374a Upgrade Java version from 17 to 21 in release workflow
  • 5882a43 Update release.yml
  • 851e0b0 Remove obsolete uses of reflection from Error Prone
  • 344e3dc Remove an obsolete use of reflection
  • 5f46e62 Fix a typo (wrong quotation mark).
  • de7d191 Update IncorrectMainMethod documentation in light of JEP512.
  • 09c78e0 Remove an obsolete TODO
  • 17c271e Turn down AndroidJdkLibsChecker
  • 0ae79f5 Add tests for subtypes of Immutable and ThreadSafe classes
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Oct 23, 2025
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 23, 2025
@dependabot dependabot bot requested review from ramthi, trask and xiang17 as code owners October 23, 2025 03:06
@dependabot dependabot bot added the java Pull requests that update Java code label Oct 23, 2025
@trask trask requested a review from johnoliver as a code owner October 23, 2025 03:07
@xiang17
Copy link
Member

xiang17 commented Oct 24, 2025

Failed during compilation:

Task :etw:java:compileJava
An exception has occurred in the compiler (17.0.16). Please file a bug against the Java compiler via the Java bug reporting page (https://bugreport.java.com/) after checking the Bug Database (https://bugs.java.com/) for duplicates. Include your program, the following diagnostic, and the parameters passed to the Java compiler in your report. Thank you.
java.lang.UnsupportedClassVersionError: com/google/errorprone/ErrorProneJavacPlugin has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0

The minimum support JDK version to run Error Prone is now JDK 21: https://github.com/google/error-prone/releases/tag/v2.43.0

@xiang17
Copy link
Member

xiang17 commented Oct 24, 2025

Trying to upgrade the JDK version to 21: #4519

@xiang17
Copy link
Member

xiang17 commented Oct 27, 2025

@dependabot recreate

Bumps `errorProneVersion` from 2.42.0 to 2.43.0.

Updates `com.google.errorprone:error_prone_annotations` from 2.42.0 to 2.43.0
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](google/error-prone@v2.42.0...v2.43.0)

Updates `com.google.errorprone:error_prone_core` from 2.42.0 to 2.43.0
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](google/error-prone@v2.42.0...v2.43.0)

---
updated-dependencies:
- dependency-name: com.google.errorprone:error_prone_annotations
  dependency-version: 2.43.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.errorprone:error_prone_core
  dependency-version: 2.43.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/gradle/errorProneVersion-2.43.0 branch from 1ed6d1b to f4a6154 Compare October 27, 2025 21:27
@xiang17
Copy link
Member

xiang17 commented Oct 27, 2025

Failed at AndroidJdkLibsChecker.

 * What went wrong:
Execution failed for task ':agent:agent:compileJava'.
> AndroidJdkLibsChecker is not a valid checker name

It has been removed in v2.43.0:

AndroidJdkLibsChecker has been removed, the recommended replacement for Android code is Android Lint's NewApi check

@xiang17 xiang17 enabled auto-merge (squash) October 27, 2025 22:26
@xiang17 xiang17 merged commit 55de586 into main Oct 27, 2025
141 checks passed
@xiang17 xiang17 deleted the dependabot/gradle/errorProneVersion-2.43.0 branch October 27, 2025 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants