Skip to content
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

Bump org.checkerframework:checker-qual from 3.40.0 to 3.42.0 #3857

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 18, 2023

Bumps org.checkerframework:checker-qual from 3.40.0 to 3.42.0.

Release notes

Sourced from org.checkerframework:checker-qual's releases.

Checker Framework 3.42.0

Version 3.42.0 (December 15, 2023)

User-visible changes:

Method annotation @AssertMethod indicates that a method checks a value and possibly throws an assertion. Using it can make flow-sensitive type refinement more effective.

In org.checkerframework.common.util.debug, renamed EmptyProcessor to DoNothingProcessor. Removed org.checkerframework.common.util.report.DoNothingChecker. Moved ReportChecker from org.checkerframework.common.util.report to org.checkerframework.common.util.count.report.

Checker Framework 3.41.0

Version 3.41.0 (December 4, 2023)

User-visible changes:

New command-line options: -AassumePureGetters Unsoundly assume that every getter method is pure

Implementation details:

Added method isDeterministic() to the AnnotationProvider interface.

CFAbstractValue#leastUpperBound and CFAbstractValue#widenUpperBound are now final. Subclasses should override method CFAbstractValue#upperBound(V, TypeMirror, boolean) instead.

Closed issues:

#1497, #3345, #6037, #6204, #6276, #6282, #6290, #6296, #6319, #6327.

Changelog

Sourced from org.checkerframework:checker-qual's changelog.

Version 3.42.0 (December 15, 2023)

User-visible changes:

Method annotation @AssertMethod indicates that a method checks a value and possibly throws an assertion. Using it can make flow-sensitive type refinement more effective.

In org.checkerframework.common.util.debug, renamed EmptyProcessor to DoNothingProcessor. Removed org.checkerframework.common.util.report.DoNothingChecker. Moved ReportChecker from org.checkerframework.common.util.report to org.checkerframework.common.util.count.report.

Version 3.41.0 (December 4, 2023)

User-visible changes:

New command-line options: -AassumePureGetters Unsoundly assume that every getter method is pure

Implementation details:

Added method isDeterministic() to the AnnotationProvider interface.

CFAbstractValue#leastUpperBound and CFAbstractValue#widenUpperBound are now final. Subclasses should override method CFAbstractValue#upperBound(V, TypeMirror, boolean) instead.

Closed issues:

#1497, #3345, #6037, #6204, #6276, #6282, #6290, #6296, #6319, #6327.

Commits
  • ed3a237 new release 3.42.0
  • 9053af5 Prep for release.
  • 886d0b3 Add support for opt.map(type::method) pattern. (#6370)
  • 4b5e2c9 ReportChecker: Fix array access crash
  • 3eb26a9 Fix guava-assertions.astub
  • 7906a83 Add -y, a second command-line option for exclusion
  • b38ed80 Fix Kotlin instructions
  • ae8a6e1 Add support for OptionalDouble, OptionalInt, OptionalLong
  • 17226ff Add Optional method annotations
  • 964d027 Permit Stream.filter(Optional::isPresent).map(Optional::get)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Bumps [org.checkerframework:checker-qual](https://github.com/typetools/checker-framework) from 3.40.0 to 3.42.0.
- [Release notes](https://github.com/typetools/checker-framework/releases)
- [Changelog](https://github.com/typetools/checker-framework/blob/master/docs/CHANGELOG.md)
- [Commits](typetools/checker-framework@checker-framework-3.40.0...checker-framework-3.42.0)

---
updated-dependencies:
- dependency-name: org.checkerframework:checker-qual
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from cliu123 as a code owner December 18, 2023 06:10
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 18, 2023
@dependabot dependabot bot requested a review from cwperks as a code owner December 18, 2023 06:10
@dependabot dependabot bot added the java Pull requests that update Java code label Dec 18, 2023
Copy link

codecov bot commented Dec 18, 2023

Codecov Report

Merging #3857 (39570ae) into main (b996eb1) will decrease coverage by 0.02%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3857      +/-   ##
==========================================
- Coverage   66.60%   66.58%   -0.02%     
==========================================
  Files         298      298              
  Lines       21188    21188              
  Branches     3453     3453              
==========================================
- Hits        14112    14109       -3     
- Misses       5361     5362       +1     
- Partials     1715     1717       +2     

see 4 files with indirect coverage changes

@willyborankin willyborankin added the backport 2.x backport to 2.x branch label Dec 18, 2023
@reta reta merged commit 604c25f into main Dec 18, 2023
@reta reta deleted the dependabot/gradle/org.checkerframework-checker-qual-3.42.0 branch December 18, 2023 13:44
@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.x failed:

The process '/usr/bin/git' failed with exit code 128

To backport manually, run these commands in your terminal:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/security/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/security/backport-2.x
# Create a new branch
git switch --create backport/backport-3857-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 604c25f1f91828608cdd1544f278ba4d17d30518
# Push it to GitHub
git push --set-upstream origin backport/backport-3857-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/security/backport-2.x

Then, create a pull request where the base branch is 2.x and the compare/head branch is backport/backport-3857-to-2.x.

reta pushed a commit to reta/security that referenced this pull request Dec 18, 2023
…rch-project#3857)

Bumps
[org.checkerframework:checker-qual](https://github.com/typetools/checker-framework)
from 3.40.0 to 3.42.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/typetools/checker-framework/releases">org.checkerframework:checker-qual's
releases</a>.</em></p>
<blockquote>
<h2>Checker Framework 3.42.0</h2>
<h2>Version 3.42.0 (December 15, 2023)</h2>
<p><strong>User-visible changes:</strong></p>
<p>Method annotation <code>@AssertMethod</code> indicates that a method
checks a value and possibly throws an assertion. Using it can make
flow-sensitive type refinement more effective.</p>
<p>In <code>org.checkerframework.common.util.debug</code>, renamed
<code>EmptyProcessor</code> to <code>DoNothingProcessor</code>.
Removed
<code>org.checkerframework.common.util.report.DoNothingChecker</code>.
Moved <code>ReportChecker</code> from
<code>org.checkerframework.common.util.report</code> to
<code>org.checkerframework.common.util.count.report</code>.</p>
<h2>Checker Framework 3.41.0</h2>
<h2>Version 3.41.0 (December 4, 2023)</h2>
<p><strong>User-visible changes:</strong></p>
<p>New command-line options:
-AassumePureGetters Unsoundly assume that every getter method is
pure</p>
<p><strong>Implementation details:</strong></p>
<p>Added method <code>isDeterministic()</code> to the
<code>AnnotationProvider</code> interface.</p>
<p><code>CFAbstractValue#leastUpperBound</code> and
<code>CFAbstractValue#widenUpperBound</code> are now final. Subclasses
should override method <code>CFAbstractValue#upperBound(V, TypeMirror,
boolean)</code> instead.</p>
<p><strong>Closed issues:</strong></p>
<p><a
href="https://redirect.github.com/typetools/checker-framework/issues/1497">#1497</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/3345">#3345</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6037">#6037</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6204">#6204</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6276">#6276</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6282">#6282</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6290">#6290</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6296">#6296</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6319">#6319</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6327">#6327</a>.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/typetools/checker-framework/blob/master/docs/CHANGELOG.md">org.checkerframework:checker-qual's
changelog</a>.</em></p>
<blockquote>
<h2>Version 3.42.0 (December 15, 2023)</h2>
<p><strong>User-visible changes:</strong></p>
<p>Method annotation <code>@AssertMethod</code> indicates that a method
checks a value and
possibly throws an assertion. Using it can make flow-sensitive type
refinement
more effective.</p>
<p>In <code>org.checkerframework.common.util.debug</code>, renamed
<code>EmptyProcessor</code> to <code>DoNothingProcessor</code>.
Removed
<code>org.checkerframework.common.util.report.DoNothingChecker</code>.
Moved <code>ReportChecker</code> from
<code>org.checkerframework.common.util.report</code> to
<code>org.checkerframework.common.util.count.report</code>.</p>
<h2>Version 3.41.0 (December 4, 2023)</h2>
<p><strong>User-visible changes:</strong></p>
<p>New command-line options:
-AassumePureGetters Unsoundly assume that every getter method is
pure</p>
<p><strong>Implementation details:</strong></p>
<p>Added method <code>isDeterministic()</code> to the
<code>AnnotationProvider</code> interface.</p>
<p><code>CFAbstractValue#leastUpperBound</code> and
<code>CFAbstractValue#widenUpperBound</code> are now
final. Subclasses should override method
<code>CFAbstractValue#upperBound(V, TypeMirror, boolean)</code>
instead.</p>
<p><strong>Closed issues:</strong></p>
<p><a
href="https://redirect.github.com/typetools/checker-framework/issues/1497">#1497</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/3345">#3345</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6037">#6037</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6204">#6204</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6276">#6276</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6282">#6282</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6290">#6290</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6296">#6296</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6319">#6319</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6327">#6327</a>.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/typetools/checker-framework/commit/ed3a237e04037e85850d81ef2031e4015893e54f"><code>ed3a237</code></a>
new release 3.42.0</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/9053af5f89c0c62608a26b241716d58bbe0af28b"><code>9053af5</code></a>
Prep for release.</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/886d0b384c9e8099bd6e3c07839a834d6f6823f2"><code>886d0b3</code></a>
Add support for opt.map(type::method) pattern. (<a
href="https://redirect.github.com/typetools/checker-framework/issues/6370">#6370</a>)</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/4b5e2c96a99eaa2171b740af5b53732b9d003d55"><code>4b5e2c9</code></a>
ReportChecker: Fix array access crash</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/3eb26a972031694983cd351b88fd04624be62e0b"><code>3eb26a9</code></a>
Fix guava-assertions.astub</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/7906a832ee24b8fa134d5883667f1d408a286502"><code>7906a83</code></a>
Add <code>-y</code>, a second command-line option for exclusion</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/b38ed803cc4e07e98a2ce9d5d71d0c2f6063dfab"><code>b38ed80</code></a>
Fix Kotlin instructions</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/ae8a6e1d1ec113b25667e9a1ac13ce020dc12fe8"><code>ae8a6e1</code></a>
Add support for OptionalDouble, OptionalInt, OptionalLong</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/17226ff978da72f0acccfdf660d6d1d788e544d2"><code>17226ff</code></a>
Add Optional method annotations</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/964d02799dc8642c3cf762fdac8ae91efea27983"><code>964d027</code></a>
Permit
<code>Stream.filter(Optional::isPresent).map(Optional::get)</code></li>
<li>Additional commits viewable in <a
href="https://github.com/typetools/checker-framework/compare/checker-framework-3.40.0...checker-framework-3.42.0">compare
view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.checkerframework:checker-qual&package-manager=gradle&previous-version=3.40.0&new-version=3.42.0)](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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 604c25f)
reta added a commit that referenced this pull request Dec 18, 2023
…o 3.42.0 (#3857) (#3866)

Backport of #3857 to
`2.x`

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
prabhask5 pushed a commit to prabhask5/opensearch-security that referenced this pull request Jan 11, 2024
…rch-project#3857)

Bumps
[org.checkerframework:checker-qual](https://github.com/typetools/checker-framework)
from 3.40.0 to 3.42.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/typetools/checker-framework/releases">org.checkerframework:checker-qual's
releases</a>.</em></p>
<blockquote>
<h2>Checker Framework 3.42.0</h2>
<h2>Version 3.42.0 (December 15, 2023)</h2>
<p><strong>User-visible changes:</strong></p>
<p>Method annotation <code>@AssertMethod</code> indicates that a method
checks a value and possibly throws an assertion. Using it can make
flow-sensitive type refinement more effective.</p>
<p>In <code>org.checkerframework.common.util.debug</code>, renamed
<code>EmptyProcessor</code> to <code>DoNothingProcessor</code>.
Removed
<code>org.checkerframework.common.util.report.DoNothingChecker</code>.
Moved <code>ReportChecker</code> from
<code>org.checkerframework.common.util.report</code> to
<code>org.checkerframework.common.util.count.report</code>.</p>
<h2>Checker Framework 3.41.0</h2>
<h2>Version 3.41.0 (December 4, 2023)</h2>
<p><strong>User-visible changes:</strong></p>
<p>New command-line options:
-AassumePureGetters Unsoundly assume that every getter method is
pure</p>
<p><strong>Implementation details:</strong></p>
<p>Added method <code>isDeterministic()</code> to the
<code>AnnotationProvider</code> interface.</p>
<p><code>CFAbstractValue#leastUpperBound</code> and
<code>CFAbstractValue#widenUpperBound</code> are now final. Subclasses
should override method <code>CFAbstractValue#upperBound(V, TypeMirror,
boolean)</code> instead.</p>
<p><strong>Closed issues:</strong></p>
<p><a
href="https://redirect.github.com/typetools/checker-framework/issues/1497">#1497</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/3345">#3345</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6037">#6037</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6204">#6204</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6276">#6276</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6282">#6282</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6290">#6290</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6296">#6296</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6319">#6319</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6327">#6327</a>.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/typetools/checker-framework/blob/master/docs/CHANGELOG.md">org.checkerframework:checker-qual's
changelog</a>.</em></p>
<blockquote>
<h2>Version 3.42.0 (December 15, 2023)</h2>
<p><strong>User-visible changes:</strong></p>
<p>Method annotation <code>@AssertMethod</code> indicates that a method
checks a value and
possibly throws an assertion. Using it can make flow-sensitive type
refinement
more effective.</p>
<p>In <code>org.checkerframework.common.util.debug</code>, renamed
<code>EmptyProcessor</code> to <code>DoNothingProcessor</code>.
Removed
<code>org.checkerframework.common.util.report.DoNothingChecker</code>.
Moved <code>ReportChecker</code> from
<code>org.checkerframework.common.util.report</code> to
<code>org.checkerframework.common.util.count.report</code>.</p>
<h2>Version 3.41.0 (December 4, 2023)</h2>
<p><strong>User-visible changes:</strong></p>
<p>New command-line options:
-AassumePureGetters Unsoundly assume that every getter method is
pure</p>
<p><strong>Implementation details:</strong></p>
<p>Added method <code>isDeterministic()</code> to the
<code>AnnotationProvider</code> interface.</p>
<p><code>CFAbstractValue#leastUpperBound</code> and
<code>CFAbstractValue#widenUpperBound</code> are now
final. Subclasses should override method
<code>CFAbstractValue#upperBound(V, TypeMirror, boolean)</code>
instead.</p>
<p><strong>Closed issues:</strong></p>
<p><a
href="https://redirect.github.com/typetools/checker-framework/issues/1497">#1497</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/3345">#3345</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6037">#6037</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6204">#6204</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6276">#6276</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6282">#6282</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6290">#6290</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6296">#6296</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6319">#6319</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6327">#6327</a>.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/typetools/checker-framework/commit/ed3a237e04037e85850d81ef2031e4015893e54f"><code>ed3a237</code></a>
new release 3.42.0</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/9053af5f89c0c62608a26b241716d58bbe0af28b"><code>9053af5</code></a>
Prep for release.</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/886d0b384c9e8099bd6e3c07839a834d6f6823f2"><code>886d0b3</code></a>
Add support for opt.map(type::method) pattern. (<a
href="https://redirect.github.com/typetools/checker-framework/issues/6370">#6370</a>)</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/4b5e2c96a99eaa2171b740af5b53732b9d003d55"><code>4b5e2c9</code></a>
ReportChecker: Fix array access crash</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/3eb26a972031694983cd351b88fd04624be62e0b"><code>3eb26a9</code></a>
Fix guava-assertions.astub</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/7906a832ee24b8fa134d5883667f1d408a286502"><code>7906a83</code></a>
Add <code>-y</code>, a second command-line option for exclusion</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/b38ed803cc4e07e98a2ce9d5d71d0c2f6063dfab"><code>b38ed80</code></a>
Fix Kotlin instructions</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/ae8a6e1d1ec113b25667e9a1ac13ce020dc12fe8"><code>ae8a6e1</code></a>
Add support for OptionalDouble, OptionalInt, OptionalLong</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/17226ff978da72f0acccfdf660d6d1d788e544d2"><code>17226ff</code></a>
Add Optional method annotations</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/964d02799dc8642c3cf762fdac8ae91efea27983"><code>964d027</code></a>
Permit
<code>Stream.filter(Optional::isPresent).map(Optional::get)</code></li>
<li>Additional commits viewable in <a
href="https://github.com/typetools/checker-framework/compare/checker-framework-3.40.0...checker-framework-3.42.0">compare
view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.checkerframework:checker-qual&package-manager=gradle&previous-version=3.40.0&new-version=3.42.0)](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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Prabhas Kurapati <prabhask@berkeley.edu>
dlin2028 pushed a commit to dlin2028/security that referenced this pull request May 1, 2024
…rch-project#3857)

Bumps
[org.checkerframework:checker-qual](https://github.com/typetools/checker-framework)
from 3.40.0 to 3.42.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/typetools/checker-framework/releases">org.checkerframework:checker-qual's
releases</a>.</em></p>
<blockquote>
<h2>Checker Framework 3.42.0</h2>
<h2>Version 3.42.0 (December 15, 2023)</h2>
<p><strong>User-visible changes:</strong></p>
<p>Method annotation <code>@AssertMethod</code> indicates that a method
checks a value and possibly throws an assertion. Using it can make
flow-sensitive type refinement more effective.</p>
<p>In <code>org.checkerframework.common.util.debug</code>, renamed
<code>EmptyProcessor</code> to <code>DoNothingProcessor</code>.
Removed
<code>org.checkerframework.common.util.report.DoNothingChecker</code>.
Moved <code>ReportChecker</code> from
<code>org.checkerframework.common.util.report</code> to
<code>org.checkerframework.common.util.count.report</code>.</p>
<h2>Checker Framework 3.41.0</h2>
<h2>Version 3.41.0 (December 4, 2023)</h2>
<p><strong>User-visible changes:</strong></p>
<p>New command-line options:
-AassumePureGetters Unsoundly assume that every getter method is
pure</p>
<p><strong>Implementation details:</strong></p>
<p>Added method <code>isDeterministic()</code> to the
<code>AnnotationProvider</code> interface.</p>
<p><code>CFAbstractValue#leastUpperBound</code> and
<code>CFAbstractValue#widenUpperBound</code> are now final. Subclasses
should override method <code>CFAbstractValue#upperBound(V, TypeMirror,
boolean)</code> instead.</p>
<p><strong>Closed issues:</strong></p>
<p><a
href="https://redirect.github.com/typetools/checker-framework/issues/1497">#1497</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/3345">#3345</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6037">#6037</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6204">#6204</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6276">#6276</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6282">#6282</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6290">#6290</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6296">#6296</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6319">#6319</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6327">#6327</a>.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/typetools/checker-framework/blob/master/docs/CHANGELOG.md">org.checkerframework:checker-qual's
changelog</a>.</em></p>
<blockquote>
<h2>Version 3.42.0 (December 15, 2023)</h2>
<p><strong>User-visible changes:</strong></p>
<p>Method annotation <code>@AssertMethod</code> indicates that a method
checks a value and
possibly throws an assertion. Using it can make flow-sensitive type
refinement
more effective.</p>
<p>In <code>org.checkerframework.common.util.debug</code>, renamed
<code>EmptyProcessor</code> to <code>DoNothingProcessor</code>.
Removed
<code>org.checkerframework.common.util.report.DoNothingChecker</code>.
Moved <code>ReportChecker</code> from
<code>org.checkerframework.common.util.report</code> to
<code>org.checkerframework.common.util.count.report</code>.</p>
<h2>Version 3.41.0 (December 4, 2023)</h2>
<p><strong>User-visible changes:</strong></p>
<p>New command-line options:
-AassumePureGetters Unsoundly assume that every getter method is
pure</p>
<p><strong>Implementation details:</strong></p>
<p>Added method <code>isDeterministic()</code> to the
<code>AnnotationProvider</code> interface.</p>
<p><code>CFAbstractValue#leastUpperBound</code> and
<code>CFAbstractValue#widenUpperBound</code> are now
final. Subclasses should override method
<code>CFAbstractValue#upperBound(V, TypeMirror, boolean)</code>
instead.</p>
<p><strong>Closed issues:</strong></p>
<p><a
href="https://redirect.github.com/typetools/checker-framework/issues/1497">#1497</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/3345">#3345</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6037">#6037</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6204">#6204</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6276">#6276</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6282">#6282</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6290">#6290</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6296">#6296</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6319">#6319</a>,
<a
href="https://redirect.github.com/typetools/checker-framework/issues/6327">#6327</a>.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/typetools/checker-framework/commit/ed3a237e04037e85850d81ef2031e4015893e54f"><code>ed3a237</code></a>
new release 3.42.0</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/9053af5f89c0c62608a26b241716d58bbe0af28b"><code>9053af5</code></a>
Prep for release.</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/886d0b384c9e8099bd6e3c07839a834d6f6823f2"><code>886d0b3</code></a>
Add support for opt.map(type::method) pattern. (<a
href="https://redirect.github.com/typetools/checker-framework/issues/6370">#6370</a>)</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/4b5e2c96a99eaa2171b740af5b53732b9d003d55"><code>4b5e2c9</code></a>
ReportChecker: Fix array access crash</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/3eb26a972031694983cd351b88fd04624be62e0b"><code>3eb26a9</code></a>
Fix guava-assertions.astub</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/7906a832ee24b8fa134d5883667f1d408a286502"><code>7906a83</code></a>
Add <code>-y</code>, a second command-line option for exclusion</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/b38ed803cc4e07e98a2ce9d5d71d0c2f6063dfab"><code>b38ed80</code></a>
Fix Kotlin instructions</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/ae8a6e1d1ec113b25667e9a1ac13ce020dc12fe8"><code>ae8a6e1</code></a>
Add support for OptionalDouble, OptionalInt, OptionalLong</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/17226ff978da72f0acccfdf660d6d1d788e544d2"><code>17226ff</code></a>
Add Optional method annotations</li>
<li><a
href="https://github.com/typetools/checker-framework/commit/964d02799dc8642c3cf762fdac8ae91efea27983"><code>964d027</code></a>
Permit
<code>Stream.filter(Optional::isPresent).map(Optional::get)</code></li>
<li>Additional commits viewable in <a
href="https://github.com/typetools/checker-framework/compare/checker-framework-3.40.0...checker-framework-3.42.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.checkerframework:checker-qual&package-manager=gradle&previous-version=3.40.0&new-version=3.42.0)](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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport to 2.x branch dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants