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 2026/03/09 06:45:07 UTC

[PR] MINOR: Bump error_prone_core.version from 2.42.0 to 2.48.0 [arrow-java]

dependabot[bot] opened a new pull request, #1054:
URL: https://github.com/apache/arrow-java/pull/1054

   Bumps `error_prone_core.version` from 2.42.0 to 2.48.0.
   Updates `com.google.errorprone:error_prone_annotations` from 2.42.0 to 2.48.0
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a href="https://github.com/google/error-prone/releases">com.google.errorprone:error_prone_annotations's releases</a>.</em></p>
   <blockquote>
   <h2>Error Prone 2.48.0</h2>
   <p>Changes:</p>
   <ul>
   <li>Added support for passing flags with command-line argument files (<code>@</code>-files) (<a href="https://github.com/google/error-prone/commit/8e84edf1beedc99ff2cff3c21a7adec578ad053e">https://github.com/google/error-prone/commit/8e84edf1beedc99ff2cff3c21a7adec578ad053e</a>)</li>
   </ul>
   <p>New checks:</p>
   <ul>
   <li><a href="https://errorprone.info/bugpattern/AvoidValueSetter"><code>AvoidValueSetter</code></a></li>
   <li><a href="https://errorprone.info/bugpattern/UnnecessarySemicolon"><code>UnnecessarySemicolon</code></a></li>
   </ul>
   <p>Closed issues: <a href="https://redirect.github.com/google/error-prone/issues/5529">#5529</a>, <a href="https://redirect.github.com/google/error-prone/issues/5537">#5537</a>, <a href="https://redirect.github.com/google/error-prone/issues/5522">#5522</a>, <a href="https://redirect.github.com/google/error-prone/issues/5521">#5521</a></p>
   <p>Full changelog: <a href="https://github.com/google/error-prone/compare/v2.47.0...v2.48.0">https://github.com/google/error-prone/compare/v2.47.0...v2.48.0</a></p>
   <h2>Error Prone 2.47.0</h2>
   <p>New checks:</p>
   <ul>
   <li><a href="https://errorprone.info/bugpattern/InterruptedInCatchBlock"><code>InterruptedInCatchBlock</code></a>: Detect accidental calls to <code>Thread.interrupted()</code> inside of <code>catch(InterruptedException e)</code> blocks.</li>
   <li><a href="https://errorprone.info/bugpattern/RefactorSwitch"><code>RefactorSwitch</code></a>: Refactorings to simplify arrow switches</li>
   <li><a href="https://errorprone.info/bugpattern/UnnamedVariable"><code>UnnamedVariable</code></a>: Rename unused variables to <code>_</code></li>
   </ul>
   <p>Closed issues: <a href="https://redirect.github.com/google/error-prone/issues/1811">#1811</a>, <a href="https://redirect.github.com/google/error-prone/issues/4168">#4168</a>, <a href="https://redirect.github.com/google/error-prone/issues/5459">#5459</a>, <a href="https://redirect.github.com/google/error-prone/issues/5460">#5460</a></p>
   <p>Full changelog: <a href="https://github.com/google/error-prone/compare/v2.46.0...v2.47.0">https://github.com/google/error-prone/compare/v2.46.0...v2.47.0</a></p>
   <h2>Error Prone 2.46.0</h2>
   <p>Changes:</p>
   <ul>
   <li>The javac flag <code>-XDaddTypeAnnotationsToSymbol=true</code> is now required for Error Prone invocations on JDK 21, to enable the javac fix for <a href="https://bugs.openjdk.org/browse/JDK-8225377">JDK-8225377: type annotations are not visible to javac plugins across compilation boundaries</a>. See <a href="https://redirect.github.com/google/error-prone/issues/5426">google/error-prone#5426</a> for details.</li>
   <li>Remove deprecated <code>value</code> attribute from <code>@IncompatibleModifiers</code> and <code>@RequiredModifiers</code> (<a href="https://redirect.github.com/google/error-prone/issues/2122">google/error-prone#2122</a>)</li>
   <li>Error Prone API changes to encapsulate references to internal javac APIs for end position handling (<code>EndPosTable</code>, <code>DiagnosticPosition</code>) (<a href="https://github.com/google/error-prone/commit/5440bb4bcd9d3455a131d863b09f71cfea8a346b">https://github.com/google/error-prone/commit/5440bb4bcd9d3455a131d863b09f71cfea8a346b</a>, <a href="https://github.com/google/error-prone/commit/06c2905e03ade5e1564b5c67d44e2e34bfe5b8e4">https://github.com/google/error-prone/commit/06c2905e03ade5e1564b5c67d44e2e34bfe5b8e4</a>, <a href="https://github.com/google/error-prone/commit/f3915ec322fa7f190c670f6a30bd476f463d8967">https://github.com/google/error-prone/commit/f3915ec322fa7f190c670f6a30bd476f463d8967</a>)</li>
   </ul>
   <p>New checks:</p>
   <ul>
   <li><a href="https://errorprone.info/bugpattern/DuplicateAssertion"><code>DuplicateAssertion</code></a>: detect duplicated assertion lines where the argument to <code>assertThat</code> is pure</li>
   <li><a href="https://errorprone.info/bugpattern/IfChainToSwitch"><code>IfChainToSwitch</code></a>: suggest converting chains of if-statements into arrow switches</li>
   <li><a href="https://errorprone.info/bugpattern/ScannerUseDelimiter"><code>ScannerUseDelimiter</code></a>: discourage <code>Scanner.useDelimiter(&quot;\\A&quot;)</code></li>
   <li><a href="https://errorprone.info/bugpattern/AddNullMarkedToClass"><code>AddNullMarkedToClass</code></a>: refactoring to add <code>@NullMarked</code> annotation to top level classes</li>
   </ul>
   <p>Full changelog: <a href="https://github.com/google/error-prone/compare/v2.45.0...v2.46.0">https://github.com/google/error-prone/compare/v2.45.0...v2.46.0</a></p>
   <h2>Error Prone 2.45.0</h2>
   <p>Changes:</p>
   <ul>
   <li>Improved compatibility with latest JDK 26 EA builds.</li>
   </ul>
   <p>New checks:</p>
   <ul>
   <li><a href="https://errorprone.info/bugpattern/AssertSameIncompatible"><code>AssertSameIncompatible</code></a>: Detect calls to <code>assertSame</code> and similar assertions, where the calls are guaranteed to either succeed or fail.</li>
   <li><a href="https://errorprone.info/bugpattern/FormatStringShouldUsePlaceholders"><code>FormatStringShouldUsePlaceholders</code></a>: Suggests using a format string instead of string concatenation operations on format methods</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/7cec0a04b56cd79e72461ad771e532f503f0b407"><code>7cec0a0</code></a> Release Error Prone 2.48.0</li>
   <li><a href="https://github.com/google/error-prone/commit/01c603a9fce06f87f0868f460a4aed0afd1ceef0"><code>01c603a</code></a> Extend MissingTestCall to check for member references.</li>
   <li><a href="https://github.com/google/error-prone/commit/3d817b040d3fd4e144e4468b0d58811d43b11875"><code>3d817b0</code></a> Handle <code>var</code> in <code>UnnecessaryBoxedVariable</code></li>
   <li><a href="https://github.com/google/error-prone/commit/ad26f3ea6b15f89852ef2e9ff86ddcc794763a28"><code>ad26f3e</code></a> Add <code>ConcurrentHashMap.keys()</code> and <code>ConcurrentHashMap.elements()</code> to `JdkObso...</li>
   <li><a href="https://github.com/google/error-prone/commit/7926dbce13ea1912608adac4ddd41373fa48dee6"><code>7926dbc</code></a> Fix MustBeClosedChecker crash on flexible constructors.</li>
   <li><a href="https://github.com/google/error-prone/commit/d08f0032a0dbd8cd25224c4f0bc7e249c72b9448"><code>d08f003</code></a> Check for jakarta annotations in DI checks</li>
   <li><a href="https://github.com/google/error-prone/commit/171448c117547536b81eb25286cc16b91120fb0b"><code>171448c</code></a> Add android internal GuardedBy to ACCEPTED_GUARDED_BY_ANNOTATIONS</li>
   <li><a href="https://github.com/google/error-prone/commit/5cb6075c268bb0e2039c511af5e13b6d2199435e"><code>5cb6075</code></a> Remove the <code>MissingTestCall:MatchGraphVerify</code> flag.</li>
   <li><a href="https://github.com/google/error-prone/commit/ab81681a2df310ef06c31f6030106d110f64f3c7"><code>ab81681</code></a> Improve crash messages for fixes that don't apply</li>
   <li><a href="https://github.com/google/error-prone/commit/fe9bb21938df42f94c5c39351feee48f319adadd"><code>fe9bb21</code></a> Add a test to confirm that TimeUnitMismatch catches `seconds * 1000 + nanos /...</li>
   <li>Additional commits viewable in <a href="https://github.com/google/error-prone/compare/v2.42.0...v2.48.0">compare view</a></li>
   </ul>
   </details>
   <br />
   
   Updates `com.google.errorprone:error_prone_core` from 2.42.0 to 2.48.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.48.0</h2>
   <p>Changes:</p>
   <ul>
   <li>Added support for passing flags with command-line argument files (<code>@</code>-files) (<a href="https://github.com/google/error-prone/commit/8e84edf1beedc99ff2cff3c21a7adec578ad053e">https://github.com/google/error-prone/commit/8e84edf1beedc99ff2cff3c21a7adec578ad053e</a>)</li>
   </ul>
   <p>New checks:</p>
   <ul>
   <li><a href="https://errorprone.info/bugpattern/AvoidValueSetter"><code>AvoidValueSetter</code></a></li>
   <li><a href="https://errorprone.info/bugpattern/UnnecessarySemicolon"><code>UnnecessarySemicolon</code></a></li>
   </ul>
   <p>Closed issues: <a href="https://redirect.github.com/google/error-prone/issues/5529">#5529</a>, <a href="https://redirect.github.com/google/error-prone/issues/5537">#5537</a>, <a href="https://redirect.github.com/google/error-prone/issues/5522">#5522</a>, <a href="https://redirect.github.com/google/error-prone/issues/5521">#5521</a></p>
   <p>Full changelog: <a href="https://github.com/google/error-prone/compare/v2.47.0...v2.48.0">https://github.com/google/error-prone/compare/v2.47.0...v2.48.0</a></p>
   <h2>Error Prone 2.47.0</h2>
   <p>New checks:</p>
   <ul>
   <li><a href="https://errorprone.info/bugpattern/InterruptedInCatchBlock"><code>InterruptedInCatchBlock</code></a>: Detect accidental calls to <code>Thread.interrupted()</code> inside of <code>catch(InterruptedException e)</code> blocks.</li>
   <li><a href="https://errorprone.info/bugpattern/RefactorSwitch"><code>RefactorSwitch</code></a>: Refactorings to simplify arrow switches</li>
   <li><a href="https://errorprone.info/bugpattern/UnnamedVariable"><code>UnnamedVariable</code></a>: Rename unused variables to <code>_</code></li>
   </ul>
   <p>Closed issues: <a href="https://redirect.github.com/google/error-prone/issues/1811">#1811</a>, <a href="https://redirect.github.com/google/error-prone/issues/4168">#4168</a>, <a href="https://redirect.github.com/google/error-prone/issues/5459">#5459</a>, <a href="https://redirect.github.com/google/error-prone/issues/5460">#5460</a></p>
   <p>Full changelog: <a href="https://github.com/google/error-prone/compare/v2.46.0...v2.47.0">https://github.com/google/error-prone/compare/v2.46.0...v2.47.0</a></p>
   <h2>Error Prone 2.46.0</h2>
   <p>Changes:</p>
   <ul>
   <li>The javac flag <code>-XDaddTypeAnnotationsToSymbol=true</code> is now required for Error Prone invocations on JDK 21, to enable the javac fix for <a href="https://bugs.openjdk.org/browse/JDK-8225377">JDK-8225377: type annotations are not visible to javac plugins across compilation boundaries</a>. See <a href="https://redirect.github.com/google/error-prone/issues/5426">google/error-prone#5426</a> for details.</li>
   <li>Remove deprecated <code>value</code> attribute from <code>@IncompatibleModifiers</code> and <code>@RequiredModifiers</code> (<a href="https://redirect.github.com/google/error-prone/issues/2122">google/error-prone#2122</a>)</li>
   <li>Error Prone API changes to encapsulate references to internal javac APIs for end position handling (<code>EndPosTable</code>, <code>DiagnosticPosition</code>) (<a href="https://github.com/google/error-prone/commit/5440bb4bcd9d3455a131d863b09f71cfea8a346b">https://github.com/google/error-prone/commit/5440bb4bcd9d3455a131d863b09f71cfea8a346b</a>, <a href="https://github.com/google/error-prone/commit/06c2905e03ade5e1564b5c67d44e2e34bfe5b8e4">https://github.com/google/error-prone/commit/06c2905e03ade5e1564b5c67d44e2e34bfe5b8e4</a>, <a href="https://github.com/google/error-prone/commit/f3915ec322fa7f190c670f6a30bd476f463d8967">https://github.com/google/error-prone/commit/f3915ec322fa7f190c670f6a30bd476f463d8967</a>)</li>
   </ul>
   <p>New checks:</p>
   <ul>
   <li><a href="https://errorprone.info/bugpattern/DuplicateAssertion"><code>DuplicateAssertion</code></a>: detect duplicated assertion lines where the argument to <code>assertThat</code> is pure</li>
   <li><a href="https://errorprone.info/bugpattern/IfChainToSwitch"><code>IfChainToSwitch</code></a>: suggest converting chains of if-statements into arrow switches</li>
   <li><a href="https://errorprone.info/bugpattern/ScannerUseDelimiter"><code>ScannerUseDelimiter</code></a>: discourage <code>Scanner.useDelimiter(&quot;\\A&quot;)</code></li>
   <li><a href="https://errorprone.info/bugpattern/AddNullMarkedToClass"><code>AddNullMarkedToClass</code></a>: refactoring to add <code>@NullMarked</code> annotation to top level classes</li>
   </ul>
   <p>Full changelog: <a href="https://github.com/google/error-prone/compare/v2.45.0...v2.46.0">https://github.com/google/error-prone/compare/v2.45.0...v2.46.0</a></p>
   <h2>Error Prone 2.45.0</h2>
   <p>Changes:</p>
   <ul>
   <li>Improved compatibility with latest JDK 26 EA builds.</li>
   </ul>
   <p>New checks:</p>
   <ul>
   <li><a href="https://errorprone.info/bugpattern/AssertSameIncompatible"><code>AssertSameIncompatible</code></a>: Detect calls to <code>assertSame</code> and similar assertions, where the calls are guaranteed to either succeed or fail.</li>
   <li><a href="https://errorprone.info/bugpattern/FormatStringShouldUsePlaceholders"><code>FormatStringShouldUsePlaceholders</code></a>: Suggests using a format string instead of string concatenation operations on format methods</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/7cec0a04b56cd79e72461ad771e532f503f0b407"><code>7cec0a0</code></a> Release Error Prone 2.48.0</li>
   <li><a href="https://github.com/google/error-prone/commit/01c603a9fce06f87f0868f460a4aed0afd1ceef0"><code>01c603a</code></a> Extend MissingTestCall to check for member references.</li>
   <li><a href="https://github.com/google/error-prone/commit/3d817b040d3fd4e144e4468b0d58811d43b11875"><code>3d817b0</code></a> Handle <code>var</code> in <code>UnnecessaryBoxedVariable</code></li>
   <li><a href="https://github.com/google/error-prone/commit/ad26f3ea6b15f89852ef2e9ff86ddcc794763a28"><code>ad26f3e</code></a> Add <code>ConcurrentHashMap.keys()</code> and <code>ConcurrentHashMap.elements()</code> to `JdkObso...</li>
   <li><a href="https://github.com/google/error-prone/commit/7926dbce13ea1912608adac4ddd41373fa48dee6"><code>7926dbc</code></a> Fix MustBeClosedChecker crash on flexible constructors.</li>
   <li><a href="https://github.com/google/error-prone/commit/d08f0032a0dbd8cd25224c4f0bc7e249c72b9448"><code>d08f003</code></a> Check for jakarta annotations in DI checks</li>
   <li><a href="https://github.com/google/error-prone/commit/171448c117547536b81eb25286cc16b91120fb0b"><code>171448c</code></a> Add android internal GuardedBy to ACCEPTED_GUARDED_BY_ANNOTATIONS</li>
   <li><a href="https://github.com/google/error-prone/commit/5cb6075c268bb0e2039c511af5e13b6d2199435e"><code>5cb6075</code></a> Remove the <code>MissingTestCall:MatchGraphVerify</code> flag.</li>
   <li><a href="https://github.com/google/error-prone/commit/ab81681a2df310ef06c31f6030106d110f64f3c7"><code>ab81681</code></a> Improve crash messages for fixes that don't apply</li>
   <li><a href="https://github.com/google/error-prone/commit/fe9bb21938df42f94c5c39351feee48f319adadd"><code>fe9bb21</code></a> Add a test to confirm that TimeUnitMismatch catches `seconds * 1000 + nanos /...</li>
   <li>Additional commits viewable in <a href="https://github.com/google/error-prone/compare/v2.42.0...v2.48.0">compare view</a></li>
   </ul>
   </details>
   <br />
   
   
   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 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: Bump error_prone_core.version from 2.42.0 to 2.48.0 [arrow-java]

Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre closed pull request #1054: MINOR: Bump error_prone_core.version from 2.42.0 to 2.48.0
URL: https://github.com/apache/arrow-java/pull/1054


-- 
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: Bump error_prone_core.version from 2.42.0 to 2.48.0 [arrow-java]

Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on PR #1054:
URL: https://github.com/apache/arrow-java/pull/1054#issuecomment-4025896319

   error_prone_core needs JDK 21+ min?


-- 
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: Bump error_prone_core.version from 2.42.0 to 2.48.0 [arrow-java]

Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #1054:
URL: https://github.com/apache/arrow-java/pull/1054#issuecomment-4025896669

   OK, I won't notify you again about this release, but will get in touch when a new version is available. 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