-
Notifications
You must be signed in to change notification settings - Fork 93
MINOR: Bump error_prone_core.version from 2.31.0 to 2.37.0 #682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MINOR: Bump error_prone_core.version from 2.31.0 to 2.37.0 #682
Conversation
005db1d to
745f763
Compare
Bumps `error_prone_core.version` from 2.31.0 to 2.37.0. Updates `com.google.errorprone:error_prone_annotations` from 2.31.0 to 2.37.0 - [Release notes](https://github.com/google/error-prone/releases) - [Commits](google/error-prone@v2.31.0...v2.37.0) Updates `com.google.errorprone:error_prone_core` from 2.31.0 to 2.37.0 - [Release notes](https://github.com/google/error-prone/releases) - [Commits](google/error-prone@v2.31.0...v2.37.0) --- updated-dependencies: - dependency-name: com.google.errorprone:error_prone_annotations dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.google.errorprone:error_prone_core dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
745f763 to
8feeda9
Compare
f530097 to
88c764f
Compare
|
It seems errorprone 2.37.0 is not happy with JDK11. |
|
NB: I reproduce the same error with JDK11 on my laptop (JDK17 just works fine). |
|
OK, confirmed here: https://errorprone.info/docs/installation
@lidavidm @kou I guess it's better to stay with error prone 2.31.0 with JDK 11 support right ? We will upgrade to Error Prone 2.37.0 (and beyond) when we will remove JDK 11 support. I propose to close this PR for now. Does it make sense for you ? |
|
How about dropping support for JDK 11? (We need to bump major version for it.) We have a discussion and issue for this: |
|
I don't think adoption of JDK 17 is broad enough to drop it quite yet, even if Java 11 is technically EOL. Laurent's ideas there about requiring a newer Java version to build but targeting an older version for runtime would be better. |
|
The other thing we could do is only enable the error-prone profile for JDK17 builds? JDK11 builds would just not use error-prone. |
|
I like @lidavidm proposal: I propose to keep JDK11 and 17 for now, but disable error prone in JDK11 (profile). |
|
It makes sense. Let's use the approach! |
kou
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Bumps
error_prone_core.versionfrom 2.31.0 to 2.37.0.Updates
com.google.errorprone:error_prone_annotationsfrom 2.31.0 to 2.37.0Release notes
Sourced from com.google.errorprone:error_prone_annotations's releases.
... (truncated)
Commits
a453935Release Error Prone 2.37.081faa5aUpdate JDK versions in release.yml62086b7Handle multiple arguments inthenThrow.7440ff1In StringConcatToTextBlock, don't assume that string literals always have sou...04fe835Adds type_annotations back but as a relocation to annotations1ad73c2Handleyieldin Reachabilityb1b521fSniff out the canonical constructor using detective work rather than a flag w...86e5c95Optimization: Abort class scan inJUnit4TestNotRunif all suspicious method...c139e7f[StatementSwitchToExpressionSwitch] for the return switch pattern, fix a bug ...296fb4eHardcodeBoxedPrimitiveEquality:ExemptStaticConstants = false.Updates
com.google.errorprone:error_prone_corefrom 2.31.0 to 2.37.0Release notes
Sourced from com.google.errorprone:error_prone_core's releases.
... (truncated)
Commits
a453935Release Error Prone 2.37.081faa5aUpdate JDK versions in release.yml62086b7Handle multiple arguments inthenThrow.7440ff1In StringConcatToTextBlock, don't assume that string literals always have sou...04fe835Adds type_annotations back but as a relocation to annotations1ad73c2Handleyieldin Reachabilityb1b521fSniff out the canonical constructor using detective work rather than a flag w...86e5c95Optimization: Abort class scan inJUnit4TestNotRunif all suspicious method...c139e7f[StatementSwitchToExpressionSwitch] for the return switch pattern, fix a bug ...296fb4eHardcodeBoxedPrimitiveEquality:ExemptStaticConstants = false.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)