dependency: bump com.google.errorprone:error_prone_core from 2.31.0 to 2.34.0
Bumps com.google.errorprone:error_prone_core from 2.31.0 to 2.34.0.
Release notes
Sourced from com.google.errorprone:error_prone_core's releases.
Error Prone 2.34.0
Changes:
- Passing the javac flag
--should-stop=ifError=FLOWis now required when running Error Prone (#4595)- The
MemberNamecheck was renamed toIdentifierNameNew checks:
FutureTransformAsync: The usage of transformAsync is not necessary when all the return values of the transformation function are immediate futures.MisformattedTestData: Reformats Java source code inside Error Prone test cases.MisleadingEscapedSpace: Using\sanywhere except at the end of a line in a text block is potentially misleading.ThrowIfUncheckedKnownUnchecked:throwIfUnchecked(knownUnchecked)is equivalent tothrow knownUnchecked.Closed issues: #4595, #4598, #4620
Full changelog: https://github.com/google/error-prone/compare/v2.33.0...v2.34.0
Error Prone 2.33.0
Similar to release 2.32.0, the minimum supported JDK version to run Error Prone is JDK 17 (#3803). Using Error Prone to compile code that is deployed to earlier versions is still fully supported, but will require using JDK 17 or newer for compilation and setting
--releaseor-source/-target/-bootclasspath.Changes:
- Update protobuf version for CVE-2024-7254
New checks:
ArrayRecordComponent: Record components should not be arrays.Full changelog: https://github.com/google/error-prone/compare/v2.32.0...v2.33.0
Error Prone 2.32.0
The minimum support JDK version to run Error Prone is now JDK 17 (#3803).
Using Error Prone to compile code that is deployed to earlier versions is still fully supported, but will requires using JDK 17 or newer for compilation and setting
--releaseor-source/-target/-bootclasspath.Full changelog: https://github.com/google/error-prone/compare/v2.31.0...v2.32.0
Commits
bb113afRelease Error Prone 2.34.082a2168Recognize thatRuntime.haltandexitnever return.1d04094A couple of fixes in MoreAnnotations6203a0eRemove references to-XDshouldStopPolicyIfErrornow that `--should-stop=ifE...40bb976TweakThrowIfUncheckedKnownCheckedimplementation to match `ThrowIfUnchecke...6380cc2Warn aboutthrowIfUnchecked(unchecked), which could be justthrow unchecked.7a73690Fix or suppress CheckReturnValue errorsca50d5cUpdate--should-stop=ifError=FLOWflagsc897d8fOpen-source more of check_api/src/test/java/com/google/errorprone/util4f630fcRename MemberName to SymbolName, given it's handling classes too now.- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
It needs jdk17 https://github.com/checkstyle/checkstyle/pull/15657#issuecomment-2346263174
Superseded by #15814.