Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump org.checkerframework:checker-qual from 3.35.0 to 3.36.0
Bumps [org.checkerframework:checker-qual](https://github.com/typetools/checker-framework) from 3.35.0 to 3.36.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.36.0</h2> <h2>Version 3.36.0 (July 3, 2023)</h2> <p><strong>User-visible changes:</strong></p> <p>The Initialization Checker issues a <code>cast.unsafe</code> warning instead of an <code>initialization.cast</code> error.</p> <p>The Resource Leak Checker now issues a <code>required.method.not.known</code> error when an expression with type <code>@MustCallUnknown</code> has a must-call obligation (e.g., because it is a parameter annotated as <code>@owning</code>).</p> <p>The Resource Leak Checker's default MustCall type for type variables has been changed from <code>@MustCallUnknown</code> to <code>@MustCall({})</code>. This change reduces the number of false positive warnings in code that uses type variables but not resources. However, it makes some code that uses type variables and resources unverifiable with any annotation.</p> <p><strong>Implementation details:</strong></p> <p>Deprecated <code>ElementUtils.getSimpleNameOrDescription()</code> in favor of <code>getSimpleDescription()</code>.</p> <p>Renamed methods in <code>AnnotatedTypeMirror</code>. The old versions are deprecated. Because the <code>*PrimaryAnnotation*</code> methods might not return an annotation of a type variable or wildcard, it is better to call <code>getEffectiveAnnotation*</code> or <code>hasEffectiveAnnotation*</code> instead.</p> <ul> <li><code>clearAnnotations*()</code> => <code>clearPrimaryAnnotations()</code></li> <li><code>getAnnotation*()</code> => <code>getPrimaryAnnotation*()</code>.</li> <li><code>hasAnnotation*()</code> => <code>hasPrimaryAnnotation()</code>.</li> <li><code>removeAnnotation*()</code> => <code>removePrimaryAnnotation*()</code>.</li> <li><code>isAnnotatedInHierarchy()</code> => <code>hasPrimaryAnnotationInHierarchy()</code></li> <li><code>removeNonTopAnnotationInHierarchy()</code> should not be used.</li> </ul> <p>Dataflow Framework:</p> <ul> <li>New <code>ExpressionStatementNode</code> marks an expression that is used as a statement.</li> <li>Removed class <code>StringConcatenateAssignmentNode</code>, which is now desugared.</li> </ul> <p><code>GenericAnnotatedTypeFactory</code>:</p> <ul> <li>Renamed <code>getTypeFactoryOfSubchecker()</code> to <code>getTypeFactoryOfSubcheckerOrNull</code>.</li> <li>Added new <code>getTypeFactoryOfSubchecker()</code> that never returns null.</li> </ul> <p>Return types changed:</p> <ul> <li><code>GenericAnnotatedTypeFactory.getFinalLocalValues()</code> return type changed to <code>Map</code>, though the returned value is still a <code>HashMap</code>.</li> <li><code>BaseTypeChecker.getImmediateSubcheckerClasses()</code> return type changed to <code>Set</code>, though the returned value is still a <code>LinkedHashSet</code>.</li> </ul> <p>Renamed methods in <code>CFAbstractValue</code>:</p> <ul> <li><code>combineOneAnnotation()</code> => <code>combineAnnotationWithTypeVar()</code></li> <li><code>combineNoAnnotations()</code> => <code>combineTwoTypeVars()</code></li> </ul> <p><strong>Closed issues:</strong> <a href="https://github.com/typetools/checker-framework/issues/5908">#5908</a>, <a href="https://github.com/typetools/checker-framework/issues/5936">#5936</a>, <a href="https://github.com/typetools/checker-framework/issues/5971">#5971</a>, <a href="https://github.com/typetools/checker-framework/issues/6019">#6019</a>, <a href="https://github.com/typetools/checker-framework/issues/6025">#6025</a>, <a href="https://github.com/typetools/checker-framework/issues/6028">#6028</a>, <a href="https://github.com/typetools/checker-framework/issues/6030">#6030</a>, <a href="https://github.com/typetools/checker-framework/issues/6039">#6039</a>, <a href="https://github.com/typetools/checker-framework/issues/6053">#6053</a>, <a href="https://github.com/typetools/checker-framework/issues/6060">#6060</a>, <a href="https://github.com/typetools/checker-framework/issues/6069">#6069</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.36.0 (July 3, 2023)</h2> <p><strong>User-visible changes:</strong></p> <p>The Initialization Checker issues a <code>cast.unsafe</code> warning instead of an <code>initialization.cast</code> error.</p> <p>The Resource Leak Checker now issues a <code>required.method.not.known</code> error when an expression with type <code>@MustCallUnknown</code> has a must-call obligation (e.g., because it is a parameter annotated as <code>@owning</code>).</p> <p>The Resource Leak Checker's default MustCall type for type variables has been changed from <code>@MustCallUnknown</code> to <code>@MustCall({})</code>. This change reduces the number of false positive warnings in code that uses type variables but not resources. However, it makes some code that uses type variables and resources unverifiable with any annotation.</p> <p><strong>Implementation details:</strong></p> <p>Deprecated <code>ElementUtils.getSimpleNameOrDescription()</code> in favor of <code>getSimpleDescription()</code>.</p> <p>Renamed methods in <code>AnnotatedTypeMirror</code>. The old versions are deprecated. Because the <code>*PrimaryAnnotation*</code> methods might not return an annotation of a type variable or wildcard, it is better to call <code>getEffectiveAnnotation*</code> or <code>hasEffectiveAnnotation*</code> instead.</p> <ul> <li><code>clearAnnotations*()</code> => <code>clearPrimaryAnnotations()</code></li> <li><code>getAnnotation*()</code> => <code>getPrimaryAnnotation*()</code>.</li> <li><code>hasAnnotation*()</code> => <code>hasPrimaryAnnotation()</code>.</li> <li><code>removeAnnotation*()</code> => <code>removePrimaryAnnotation*()</code>.</li> <li><code>isAnnotatedInHierarchy()</code> => <code>hasPrimaryAnnotationInHierarchy()</code></li> <li><code>removeNonTopAnnotationInHierarchy()</code> should not be used.</li> </ul> <p>Dataflow Framework:</p> <ul> <li>New <code>ExpressionStatementNode</code> marks an expression that is used as a statement.</li> <li>Removed class <code>StringConcatenateAssignmentNode</code>, which is now desugared.</li> </ul> <p><code>GenericAnnotatedTypeFactory</code>:</p> <ul> <li>Renamed <code>getTypeFactoryOfSubchecker()</code> to <code>getTypeFactoryOfSubcheckerOrNull</code>.</li> <li>Added new <code>getTypeFactoryOfSubchecker()</code> that never returns null.</li> </ul> <p>Return types changed:</p> <ul> <li><code>GenericAnnotatedTypeFactory.getFinalLocalValues()</code> return type changed to <code>Map</code>, though the returned value is still a <code>HashMap</code>.</li> <li><code>BaseTypeChecker.getImmediateSubcheckerClasses()</code> return type changed to <code>Set</code>, though the returned value is still a <code>LinkedHashSet</code>.</li> </ul> <p>Renamed methods in <code>CFAbstractValue</code>:</p> <ul> <li><code>combineOneAnnotation()</code> => <code>combineAnnotationWithTypeVar()</code></li> <li><code>combineNoAnnotations()</code> => <code>combineTwoTypeVars()</code></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/typetools/checker-framework/commit/93fc8c8dccaa75a5289c9851e37c40828e2d66cb"><code>93fc8c8</code></a> new release 3.36.0</li> <li><a href="https://github.com/typetools/checker-framework/commit/37a26e3dedce2517d708efcb1a55d98c5acbabf3"><code>37a26e3</code></a> Update javadoc link.</li> <li><a href="https://github.com/typetools/checker-framework/commit/978609b15ca2d327edef3e5309201f0114e088c5"><code>978609b</code></a> Prep for release.</li> <li><a href="https://github.com/typetools/checker-framework/commit/5338585a6439276b7421f4bd6976832dfd9f4931"><code>5338585</code></a> java.lang.Record is a super type of all records. (<a href="https://github.com/typetools/checker-framework/issues/6070">#6070</a>)</li> <li><a href="https://github.com/typetools/checker-framework/commit/7435d619072226257036ac880903d5541222bf4e"><code>7435d61</code></a> Correctly type <code>T.super</code> (<a href="https://github.com/typetools/checker-framework/issues/6066">#6066</a>)</li> <li><a href="https://github.com/typetools/checker-framework/commit/1823e66fff86334541df43bbaf306ff0f781103a"><code>1823e66</code></a> Wildcards are only not equal if they are provably distinct</li> <li><a href="https://github.com/typetools/checker-framework/commit/dd74b9b2b81e85b8e8ed22e3f00b39270fca0722"><code>dd74b9b</code></a> Update dependency com.amazonaws:aws-java-sdk-bom to v1.12.500</li> <li><a href="https://github.com/typetools/checker-framework/commit/ea3ea4070106c0f8487680360b7137817fb7ba34"><code>ea3ea40</code></a> Update versions.autoValue to v1.10.2</li> <li><a href="https://github.com/typetools/checker-framework/commit/a39495d3e4a14762d94b6a0b93dd94306e95b523"><code>a39495d</code></a> Update dependency com.google.auto.value:auto-value-annotations to v1.10.2</li> <li><a href="https://github.com/typetools/checker-framework/commit/f60cbfa490458de25fd0cb04d622ec3595480d76"><code>f60cbfa</code></a> Update dependency com.google.auto.value:auto-value to v1.10.2 (<a href="https://github.com/typetools/checker-framework/issues/6062">#6062</a>)</li> <li>Additional commits viewable in <a href="https://github.com/typetools/checker-framework/compare/checker-framework-3.35.0...checker-framework-3.36.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=maven&previous-version=3.35.0&new-version=3.36.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 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> Fixes #257 COPYBARA_INTEGRATE_REVIEW=#257 from google:dependabot/maven/org.checkerframework-checker-qual-3.36.0 3e99895 PiperOrigin-RevId: 550893950
- Loading branch information