Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump com.google.errorprone:error_prone_annotations from 2.26.0 to 2.26.1
Bumps [com.google.errorprone:error_prone_annotations](https://github.com/google/error-prone) from 2.26.0 to 2.26.1. <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.26.1</h2> <p>This release contains all of the changes in <a href="https://github.com/google/error-prone/releases/tag/v2.26.0">2.26.0</a>, plus a bug fix to the module name of the annotations artifact <code>com.google.errorprone.annotations</code> (<a href="https://github.com/google/error-prone/commit/9d99ee76f2ca8568b69150f5df7fe845c8545d16">https://github.com/google/error-prone/commit/9d99ee76f2ca8568b69150f5df7fe845c8545d16</a>)</p> <p>Starting in <code>2.26.x</code>, the 'annotations' artifact now includes a <code>module-info.java</code> for Java Platform Module System support, thanks to <a href="https://github.com/sgammon"><code>@sgammon</code></a> in <a href="https://redirect.github.com/google/error-prone/issues/4311">#4311</a>.</p> <hr /> <p><strong>Compatibility note:</strong></p> <p>Now that the annotations artifact explicit declares a module instead of relying on <code>Automatic-Module-Name</code>, JDK 17 and newer perform stricter module encapsulation checks. Modularized libraries depending on Error Prone annotations <code>2.26.x</code> and newer may see errors like:</p> <pre><code>error: package com.google.errorprone.annotations is not visible import com.google.errorprone.annotations.CheckReturnValue; ^ (package com.google.errorprone.annotations is declared in module com.google.errorprone.annotations, but module ... does not read it) </code></pre> <p>The fix is to add <code>requires static</code> to the module declaration of modularized libraries that depend on Error Prone annotations:</p> <pre lang="diff"><code> module your.module { ... + requires static com.google.errorprone.annotations; } </code></pre> <hr /> <p>Full Changelog: <a href="https://github.com/google/error-prone/compare/v2.26.0...v2.26.1">https://github.com/google/error-prone/compare/v2.26.0...v2.26.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/google/error-prone/commit/b38057250a8a035d6b3856098145aeab1df1149f"><code>b380572</code></a> Release Error Prone 2.26.1</li> <li><a href="https://github.com/google/error-prone/commit/9d99ee76f2ca8568b69150f5df7fe845c8545d16"><code>9d99ee7</code></a> fix: module name → <code>com.google.errorprone.annotations</code></li> <li>See full diff in <a href="https://github.com/google/error-prone/compare/v2.26.0...v2.26.1">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> Fixes #414 COPYBARA_INTEGRATE_REVIEW=#414 from google:dependabot/maven/com.google.errorprone-error_prone_annotations-2.26.1 c6cf1cb PiperOrigin-RevId: 615462236
- Loading branch information