You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove deprecated value attribute from @IncompatibleModifiers and @RequiredModifiers (#2122)
Error Prone API changes to encapsulate references to internal javac APIs for end position handling (EndPosTable, DiagnosticPosition) (5440bb4, 06c2905, f3915ec)
New checks:
DuplicateAssertion: detect duplicated assertion lines where the argument to assertThat is pure
IfChainToSwitch: suggest converting chains of if-statements into arrow switches
The return type of ASTHelpers.asFlagSet has changed. The previous type was EnumSet<Flags.Flag>, where Flags.Flag is an enum in the javac class Flags. A recent JDK change has replaced that enum with a new top-level enum called FlagsEnum. It is not possible to change ASTHelpers.asFlagSet in a way that would be type-safe and compatible with the enums from JDKs both before and after the change. Instead, the method now returns ImmutableSet<String>, where the strings come from the toString() of the enum constants. That means they are "native", "abstract", etc.
All benchmarks are within the acceptable range. No critical degradation detected (threshold is 100%). Please refer to the detailed report for more information.
Click to see the detailed report
Test
Base Score
PR Score
Change
% Change
Unit
Mode
benchmarks.SourceBench.scansXmir (size=S)
6596.249
6630.073
33.824
0.51%
ms/op
Average Time
benchmarks.SourceBench.scansXmir (size=M)
7487.976
7701.337
213.361
2.85%
ms/op
Average Time
benchmarks.SourceBench.scansXmir (size=L)
8853.753
9044.677
190.924
2.16%
ms/op
Average Time
benchmarks.SourceBench.scansXmir (size=XL)
11002.277
11150.629
148.352
1.35%
ms/op
Average Time
benchmarks.SourceBench.scansXmir (size=XXL)
30340.722
31301.302
960.580
3.17%
ms/op
Average Time
⚠️ Performance loss: benchmarks.SourceBench.scansXmir (size=S) is slower by 33.824 ms/op (0.51%) ⚠️ Performance loss: benchmarks.SourceBench.scansXmir (size=M) is slower by 213.361 ms/op (2.85%) ⚠️ Performance loss: benchmarks.SourceBench.scansXmir (size=L) is slower by 190.924 ms/op (2.16%) ⚠️ Performance loss: benchmarks.SourceBench.scansXmir (size=XL) is slower by 148.352 ms/op (1.35%) ⚠️ Performance loss: benchmarks.SourceBench.scansXmir (size=XXL) is slower by 960.580 ms/op (3.17%)
renovatebot
changed the title
chore(deps): update dependency com.google.errorprone:error_prone_core to v2.41.0
chore(deps): update dependency com.google.errorprone:error_prone_core to v2.42.0
Sep 19, 2025
renovatebot
changed the title
chore(deps): update dependency com.google.errorprone:error_prone_core to v2.42.0
chore(deps): update dependency com.google.errorprone:error_prone_core to v2.43.0
Oct 22, 2025
renovatebot
changed the title
chore(deps): update dependency com.google.errorprone:error_prone_core to v2.43.0
chore(deps): update dependency com.google.errorprone:error_prone_core to v2.44.0
Nov 7, 2025
renovatebot
changed the title
chore(deps): update dependency com.google.errorprone:error_prone_core to v2.44.0
chore(deps): update dependency com.google.errorprone:error_prone_core to v2.45.0
Nov 27, 2025
renovatebot
changed the title
chore(deps): update dependency com.google.errorprone:error_prone_core to v2.45.0
chore(deps): update dependency com.google.errorprone:error_prone_core to v2.46.0
Jan 8, 2026
renovatebot
changed the title
chore(deps): update dependency com.google.errorprone:error_prone_core to v2.46.0
chore(deps): update dependency com.google.errorprone:error_prone_core to v2.47.0
Feb 5, 2026
renovatebot
changed the title
chore(deps): update dependency com.google.errorprone:error_prone_core to v2.47.0
chore(deps): update dependency com.google.errorprone:error_prone_core to v2.47.0 - autoclosed
Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
coreChanges are made to core parts of the code base
0 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.40.0→2.47.0Release Notes
google/error-prone (com.google.errorprone:error_prone_core)
v2.47.0: Error Prone 2.47.0New checks:
InterruptedInCatchBlock: Detect accidental calls toThread.interrupted()inside ofcatch(InterruptedException e)blocks.RefactorSwitch: Refactorings to simplify arrow switchesUnnamedVariable: Rename unused variables to_Closed issues: #1811, #4168, #5459, #5460
Full changelog: google/error-prone@v2.46.0...v2.47.0
v2.46.0: Error Prone 2.46.0Changes:
-XDaddTypeAnnotationsToSymbol=trueis now required for Error Prone invocations on JDK 21, to enable the javac fix for JDK-8225377: type annotations are not visible to javac plugins across compilation boundaries. See #5426 for details.valueattribute from@IncompatibleModifiersand@RequiredModifiers(#2122)EndPosTable,DiagnosticPosition) (5440bb4,06c2905,f3915ec)New checks:
DuplicateAssertion: detect duplicated assertion lines where the argument toassertThatis pureIfChainToSwitch: suggest converting chains of if-statements into arrow switchesScannerUseDelimiter: discourageScanner.useDelimiter("\\A")AddNullMarkedToClass: refactoring to add@NullMarkedannotation to top level classesFull changelog: google/error-prone@v2.45.0...v2.46.0
v2.45.0: Error Prone 2.45.0Changes:
New checks:
AssertSameIncompatible: Detect calls toassertSameand similar assertions, where the calls are guaranteed to either succeed or fail.FormatStringShouldUsePlaceholders: Suggests using a format string instead of string concatenation operations on format methodsClosed issues: #5335
Full changelog: google/error-prone@v2.44.0...v2.45.0
v2.44.0: Error Prone 2.44.0Changes
LabelledBreakTargetis now an errorClosed issues: #5218, #5278
Full changelog: google/error-prone@v2.43.0...v2.44.0
v2.43.0: Error Prone 2.43.0The minimum supported JDK version to run Error Prone is now JDK 21 (#4867).
Changes:
-XepPatchChecksnow skips disabled checks (#4943)AndroidJdkLibsCheckerhas been removed, the recommended replacement for Android code is Android Lint's NewApi checkNew checks:
NullNeedsCastForVarargs: Detect calls that incorrectly passes anullarray instead of anullelement.RedundantNullCheck: detect checks on expressions that are non-null.Closed issues: #4943, #5102, #5107, #5121, #5158, #5217, #5239
Full changelog: google/error-prone@v2.42.0...v2.43.0
v2.42.0: Error Prone 2.42.0New checks:
ExplicitArrayForVarargs: discourage unnecessary explicit construction of an array to provide varargs.FloggerPerWithoutRateLimit: discourage Flogger'sperUniquewithout rate limitingStringJoin: BanString.join(CharSequence)andString.join(CharSequence, CharSequence)ThreadBuilderNameWithPlaceholder: Do not allow placeholders inThread.Builder.name(String)orname(String, int).Changes:
ASTHelpers.asFlagSethas changed. The previous type wasEnumSet<Flags.Flag>, whereFlags.Flagis an enum in the javac classFlags. A recent JDK change has replaced that enum with a new top-level enum calledFlagsEnum. It is not possible to changeASTHelpers.asFlagSetin a way that would be type-safe and compatible with the enums from JDKs both before and after the change. Instead, the method now returnsImmutableSet<String>, where the strings come from thetoString()of the enum constants. That means they are"native","abstract", etc.IO.print[ln]()inSystemOut.Full changelog: google/error-prone@v2.41.0...v2.42.0
v2.41.0: Error Prone 2.41.0New checks:
publicorprotectedmodifiers, but are effectively privateChanges:
Full changelog: google/error-prone@v2.40.0...v2.41.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 this update again.
This PR was generated by Mend Renovate. View the repository job log.