Commit 79fa8df
authored
Bump error-prone from 2.45.0 to 2.46.0 (#397)
Bumps `error-prone` from 2.45.0 to 2.46.0.
Updates `com.google.errorprone:error_prone_annotations` from 2.45.0 to
2.46.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.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("\\A")</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>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/google/error-prone/commit/471d512ca957ea9bf5aaa75dbe7681339ea82f35"><code>471d512</code></a>
Release Error Prone 2.46.0</li>
<li><a
href="https://github.com/google/error-prone/commit/26013196c4875d0da353681307f74dc2813e30d8"><code>2601319</code></a>
Unignore a passing test.</li>
<li><a
href="https://github.com/google/error-prone/commit/ad2ec706c43f686f8362a3b570cf6bca7fdbf5b6"><code>ad2ec70</code></a>
simplify the wording of the <code>MissingDefault</code> summary</li>
<li><a
href="https://github.com/google/error-prone/commit/6c96e8ea5cfdcc20af05310fba734e9b1aa1e64c"><code>6c96e8e</code></a>
Implement a NullArgumentForNonNullParameter TODO related to
JDK-8225377</li>
<li><a
href="https://github.com/google/error-prone/commit/5b768ff755d3e0dff1591103c637877ab8f0ccdc"><code>5b768ff</code></a>
Require <code>-XDaddTypeAnnotationsToSymbol=true</code>, and remove
workaround for JDK-8...</li>
<li><a
href="https://github.com/google/error-prone/commit/0e004e5f7faae8bc8b1b623bfad0773284b68b93"><code>0e004e5</code></a>
Fix a crash in DuplicateAssertion</li>
<li><a
href="https://github.com/google/error-prone/commit/8cfa4e5813ada025200de3d85426b2850da251f0"><code>8cfa4e5</code></a>
Add a regression test for b/472686687</li>
<li><a
href="https://github.com/google/error-prone/commit/18a63d2823a8078de83a37697a3a52a4f4550475"><code>18a63d2</code></a>
Avoid getDeclarationAndTypeAttributes in ClassAndMethod</li>
<li><a
href="https://github.com/google/error-prone/commit/14b6481cb2424845b30cd55f6db7bf342d228fc3"><code>14b6481</code></a>
Make <code>CacheLoaderNull</code> check for more kinds of null
returns.</li>
<li><a
href="https://github.com/google/error-prone/commit/d3a8c00a6a1711c3390b9a3038b635a8aba7128b"><code>d3a8c00</code></a>
Handle sealed and non-sealed in SuggestedFixes.</li>
<li>Additional commits viewable in <a
href="https://github.com/google/error-prone/compare/v2.45.0...v2.46.0">compare
view</a></li>
</ul>
</details>
<br />
Updates `com.google.errorprone:error_prone_core` from 2.45.0 to 2.46.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.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("\\A")</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>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/google/error-prone/commit/471d512ca957ea9bf5aaa75dbe7681339ea82f35"><code>471d512</code></a>
Release Error Prone 2.46.0</li>
<li><a
href="https://github.com/google/error-prone/commit/26013196c4875d0da353681307f74dc2813e30d8"><code>2601319</code></a>
Unignore a passing test.</li>
<li><a
href="https://github.com/google/error-prone/commit/ad2ec706c43f686f8362a3b570cf6bca7fdbf5b6"><code>ad2ec70</code></a>
simplify the wording of the <code>MissingDefault</code> summary</li>
<li><a
href="https://github.com/google/error-prone/commit/6c96e8ea5cfdcc20af05310fba734e9b1aa1e64c"><code>6c96e8e</code></a>
Implement a NullArgumentForNonNullParameter TODO related to
JDK-8225377</li>
<li><a
href="https://github.com/google/error-prone/commit/5b768ff755d3e0dff1591103c637877ab8f0ccdc"><code>5b768ff</code></a>
Require <code>-XDaddTypeAnnotationsToSymbol=true</code>, and remove
workaround for JDK-8...</li>
<li><a
href="https://github.com/google/error-prone/commit/0e004e5f7faae8bc8b1b623bfad0773284b68b93"><code>0e004e5</code></a>
Fix a crash in DuplicateAssertion</li>
<li><a
href="https://github.com/google/error-prone/commit/8cfa4e5813ada025200de3d85426b2850da251f0"><code>8cfa4e5</code></a>
Add a regression test for b/472686687</li>
<li><a
href="https://github.com/google/error-prone/commit/18a63d2823a8078de83a37697a3a52a4f4550475"><code>18a63d2</code></a>
Avoid getDeclarationAndTypeAttributes in ClassAndMethod</li>
<li><a
href="https://github.com/google/error-prone/commit/14b6481cb2424845b30cd55f6db7bf342d228fc3"><code>14b6481</code></a>
Make <code>CacheLoaderNull</code> check for more kinds of null
returns.</li>
<li><a
href="https://github.com/google/error-prone/commit/d3a8c00a6a1711c3390b9a3038b635a8aba7128b"><code>d3a8c00</code></a>
Handle sealed and non-sealed in SuggestedFixes.</li>
<li>Additional commits viewable in <a
href="https://github.com/google/error-prone/compare/v2.45.0...v2.46.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 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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 3a719ea commit 79fa8df
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments