You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2024/02/19 16:30:00 UTC
[PR] MINOR: [Java] Bump com.google.errorprone:error_prone_core from 2.10.0 to 2.25.0 in /java [arrow]
dependabot[bot] opened a new pull request, #40136:
URL: https://github.com/apache/arrow/pull/40136
Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.10.0 to 2.25.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/google/error-prone/releases">com.google.errorprone:error_prone_core's releases</a>.</em></p>
<blockquote>
<h2>Error Prone 2.25.0</h2>
<p>New checks:</p>
<ul>
<li><a href="https://errorprone.info/bugpattern/JUnitIncompatibleType"><code>JUnitIncompatibleType</code></a>: Detects incompatible types passed to an assertion, similar to <a href="https://errorprone.info/bugpattern/TruthIncompatibleType"><code>TruthIncompatibleType </code></a></li>
<li><a href="https://errorprone.info/bugpattern/RedundantSetterCall"><code>RedundantSetterCall</code></a>: Detects fields set twice in the same chained expression. Generalization of previous <code>ProtoRedundantSet</code> check to also handle <a href="https://github.com/google/auto/blob/main/value/userguide/index.md">AutoValue</a>.</li>
</ul>
<p>Closed issues: <a href="https://redirect.github.com/google/error-prone/issues/4195">#4195</a>, <a href="https://redirect.github.com/google/error-prone/issues/4224">#4224</a>, <a href="https://redirect.github.com/google/error-prone/issues/4228">#4228</a>, <a href="https://redirect.github.com/google/error-prone/issues/4248">#4248</a>, <a href="https://redirect.github.com/google/error-prone/issues/4249">#4249</a>, <a href="https://redirect.github.com/google/error-prone/issues/4251">#4251</a></p>
<p>Full Changelog: <a href="https://github.com/google/error-prone/compare/v2.24.1...v2.25.0">https://github.com/google/error-prone/compare/v2.24.1...v2.25.0</a></p>
<h2>Error Prone 2.24.1</h2>
<p>Changes:</p>
<ul>
<li>Add an assertion to try to help debug <a href="https://redirect.github.com/google/error-prone/issues/4225">google/error-prone#4225</a></li>
</ul>
<p>Full Changelog: <a href="https://github.com/google/error-prone/compare/v2.24.0...v2.24.1">https://github.com/google/error-prone/compare/v2.24.0...v2.24.1</a></p>
<h2>Error Prone 2.24.0</h2>
<p>New checks:</p>
<ul>
<li><a href="https://errorprone.info/bugpattern/MultipleNullnessAnnotations"><code>MultipleNullnessAnnotations</code></a>: Discourage multiple nullness annotations</li>
<li><a href="https://errorprone.info/bugpattern/NullableTypeParameter"><code>NullableTypeParameter</code></a>: Discourage nullness annotations on type parameters</li>
<li><a href="https://errorprone.info/bugpattern/NullableWildcard"><code>NullableWildcard</code></a>: Discourage nullness annotations on wildcards</li>
<li><a href="https://errorprone.info/bugpattern/SuperCallToObjectMethod"><code>SuperCallToObjectMethod</code></a>: Generalization of <code>SuperEqualsIsObjectEquals</code>, now covers <code>hashCode</code></li>
</ul>
<p>Full Changelog: <a href="https://github.com/google/error-prone/compare/v2.23.0...v2.24.0">https://github.com/google/error-prone/compare/v2.23.0...v2.24.0</a></p>
<h2>Error Prone 2.23.0</h2>
<p>New checks:</p>
<ul>
<li><a href="https://errorprone.info/bugpattern/DuplicateDateFormatField"><code>DuplicateDateFormatField</code></a></li>
<li><a href="https://errorprone.info/bugpattern/NonFinalStaticField"><code>NonFinalStaticField</code></a></li>
<li><a href="https://errorprone.info/bugpattern/StringCharset"><code>StringCharset</code></a></li>
<li><a href="https://errorprone.info/bugpattern/StringFormatWithLiteral"><code>StringFormatWithLiteral</code></a></li>
<li><a href="https://errorprone.info/bugpattern/SuperEqualsIsObjectEquals"><code>SuperEqualsIsObjectEquals</code></a></li>
</ul>
<p>Bug fixes and improvements: <a href="https://redirect.github.com/google/error-prone/issues/3897">#3897</a>, <a href="https://redirect.github.com/google/error-prone/issues/4114">#4114</a>, <a href="https://redirect.github.com/google/error-prone/issues/4123">#4123</a></p>
<p>Full Changelog: <a href="https://github.com/google/error-prone/compare/v2.22.0...v2.23.0">https://github.com/google/error-prone/compare/v2.22.0...v2.23.0</a></p>
<h2>Error Prone 2.22.0</h2>
<p>We are considering raising the minimum supported JDK from JDK 11 to JDK 17 in a future release of Error Prone, see <a href="https://redirect.github.com/google/error-prone/issues/3803">#3803</a>. Note that using a newer JDK version to run javac during the build doesn't prevent building code that is deployed to earlier versions, for example it's supported to use the JDK 17 javac and pass <code>--release 11</code> to compile Java 11 code that is deployed to a JDK 11 runtime. If you have feedback, please comment on <a href="https://redirect.github.com/google/error-prone/issues/3803">#3803</a>.</p>
<p>New checks:</p>
<ul>
<li><a href="https://errorprone.info/bugpattern/ClosingStandardOutputStreams"><code>ClosingStandardOutputStreams</code></a>: Prevents accidentally closing <code>System.{out,err}</code> with try-with-resources</li>
<li><a href="https://errorprone.info/bugpattern/TruthContainsExactlyElementsInUsage"><code>TruthContainsExactlyElementsInUsage</code></a>: <code>containsExactly</code> is preferred over <code>containsExactlyElementsIn</code> when creating new iterables</li>
<li><a href="https://errorprone.info/bugpattern/UnnecessaryAsync"><code>UnnecessaryAsync</code></a>: detects unnecessary use of async primitives in local (and hence single-threaded) scopes</li>
<li><a href="https://errorprone.info/bugpattern/ReturnAtTheEndOfVoidFunction"><code>ReturnAtTheEndOfVoidFunction</code></a>: detects unnecessary <code>return</code> statements at the end of <code>void</code> functions</li>
<li><a href="https://errorprone.info/bugpattern/MultimapKeys"><code>MultimapKeys</code></a>: Suggests using <code>keySet()</code> instead of iterating over <code>Multimap.keys()</code>, which does not collapse duplicates</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/google/error-prone/commit/e353c911ea52520f2d0096eb9406f8c3f90d5f9e"><code>e353c91</code></a> Release Error Prone 2.25.0</li>
<li><a href="https://github.com/google/error-prone/commit/ae3a19f44e173847d5e01bc95fd0b1d74a41d6b6"><code>ae3a19f</code></a> Add some known thread safe types to[]</li>
<li><a href="https://github.com/google/error-prone/commit/4f060e1ff140874e1d7424a08c6d23e9c9d50d13"><code>4f060e1</code></a> Add a test case demonstrating a <code>CanIgnoreReturnValueSuggester</code> bug.</li>
<li><a href="https://github.com/google/error-prone/commit/a1f4fa7061e977357a9ada2dbc71c36ace2fe7df"><code>a1f4fa7</code></a> Drop diagnostics that are reported inside ErrorProneTokens</li>
<li><a href="https://github.com/google/error-prone/commit/32312a2eb20c94f875350ee69a3612ea45014007"><code>32312a2</code></a> Update Android API diff</li>
<li><a href="https://github.com/google/error-prone/commit/b799927de4a60a0a7d68277a1aaced64c2fd9b1f"><code>b799927</code></a> Automatic code cleanup.</li>
<li><a href="https://github.com/google/error-prone/commit/68badf0576894a13e7a0ab38350a5f64f08b04a0"><code>68badf0</code></a> ErrorProne: Update TestParameterInjector version</li>
<li><a href="https://github.com/google/error-prone/commit/3ff139f6605d565831830782135d2ae7a967740b"><code>3ff139f</code></a> Automatic code cleanup.</li>
<li><a href="https://github.com/google/error-prone/commit/0bd743234ba82f42c3aaa6dce28c5acd76d3dc03"><code>0bd7432</code></a> Rollforward of <a href="https://github.com/google/error-prone/commit/654d1dbf1e6dd652c">https://github.com/google/error-prone/commit/654d1dbf1e6dd652c</a>...</li>
<li><a href="https://github.com/google/error-prone/commit/5f2032591a8bacb496e48a9a62a1616d18586e03"><code>5f20325</code></a> Fix typos</li>
<li>Additional commits viewable in <a href="https://github.com/google/error-prone/compare/v2.10.0...v2.25.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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)
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: [Java] Bump com.google.errorprone:error_prone_core from 2.10.0 to 2.25.0 in /java [arrow]
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm closed pull request #40136: MINOR: [Java] Bump com.google.errorprone:error_prone_core from 2.10.0 to 2.25.0 in /java
URL: https://github.com/apache/arrow/pull/40136
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: [Java] Bump com.google.errorprone:error_prone_core from 2.10.0 to 2.25.0 in /java [arrow]
Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #40136:
URL: https://github.com/apache/arrow/pull/40136#issuecomment-1953275147
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: [Java] Bump com.google.errorprone:error_prone_core from 2.10.0 to 2.25.0 in /java [arrow]
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #40136:
URL: https://github.com/apache/arrow/pull/40136#issuecomment-1953274648
Hmm, unfortunate.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: [Java] Bump com.google.errorprone:error_prone_core from 2.10.0 to 2.25.0 in /java [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #40136:
URL: https://github.com/apache/arrow/pull/40136#issuecomment-1953273306
https://github.com/apache/arrow/actions/runs/7962636538/job/21736539493?pr=40136#step:6:683
```text
Error: java.lang.UnsupportedClassVersionError: com/google/errorprone/ErrorProneJavacPlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
```
It seems that we need recent Java for this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: [Java] Bump com.google.errorprone:error_prone_core from 2.10.0 to 2.25.0 in /java [arrow]
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #40136:
URL: https://github.com/apache/arrow/pull/40136#issuecomment-1953275117
Ah, it's already happened before. I think we are on the last possible version supporting Java 8. It's listed here as something to upgrade once we drop Java 8: https://github.com/apache/arrow/issues/38051
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org