Repository navigation
Conversation
…25.2 (apache#1516) Bumps [org.codehaus.mojo:versions-maven-plugin](https://github.com/mojohaus/versions) from 2.25.1 to 2.25.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mojohaus/versions/releases">org.codehaus.mojo:versions-maven-plugin's releases</a>.</em></p> <blockquote> <h2>2.25.2</h2> <p>A bug-fix release for 2.25: pre-release versions are now left out where 2.25.0 and 2.25.1 still offered them, and <code>display-plugin-updates</code> no longer fails on a plugin declared in several profiles of a parent POM. It requires Maven 3.9.0 or later and Java 8 or later, as before.</p> <h2>✨ Highlights</h2> <ul> <li><strong><code>display-dependency-updates</code> honours <code>allowPreReleases</code>.</strong> Since 2.25.0 every goal is meant to skip alpha, beta, milestone, release candidate, preview and early-access versions by default, but this goal still offered them whatever <code>allowPreReleases</code> was set to (<a href="https://redirect.github.com/mojohaus/versions/issues/1491">#1491</a>). Early-access versions such as <code>28-ea+12</code> are now recognised as pre-releases in every goal.</li> <li><strong>The <code>maxDependencyUpdates</code> enforcer rule gains <code>allowPreReleases</code>.</strong> Default <code>false</code>, as in the goals: pre-releases no longer count as updates and no longer fail the rule unless you set it to <code>true</code>.</li> <li><strong><code>display-plugin-updates</code> no longer fails with "Duplicate key".</strong> A report plugin declared in two profiles of a parent POM broke the goal in 2.25.1 (<a href="https://redirect.github.com/mojohaus/versions/issues/1490">#1490</a>); the last declaration now wins.</li> <li><strong>No more <code>minimumReleaseAge</code> warnings for snapshots.</strong> With <code>minimumReleaseAge</code> set, every SNAPSHOT in the local repository logged "Cannot determine the publication date". Snapshots now skip the age check; <code>allowSnapshots</code> decides whether they are offered.</li> </ul> <h2>🚀 New features and improvements</h2> <ul> <li>Leave pre-releases out of the maxDependencyUpdates rule (<a href="https://redirect.github.com/mojohaus/versions/issues/1495">#1495</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> </ul> <h2>🐛 Bug Fixes</h2> <ul> <li>Skip the minimumReleaseAge lookup for snapshots (<a href="https://redirect.github.com/mojohaus/versions/issues/1493">#1493</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Read a parent plugin declared in several profiles once (<a href="https://redirect.github.com/mojohaus/versions/issues/1494">#1494</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Leave pre-releases out of display-dependency-updates (<a href="https://redirect.github.com/mojohaus/versions/issues/1492">#1492</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> </ul> <p>Thanks to <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a>.</p> <p><a href="https://github.com/mojohaus/versions/compare/2.25.1...2.25.2">Full changelog</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mojohaus/versions/commit/d90c73deda335b0a5dd15e88fb8fc421504ed99c"><code>d90c73d</code></a> [maven-release-plugin] prepare release 2.25.2</li> <li><a href="https://github.com/mojohaus/versions/commit/3ba1d3730809890f2806c5bca0be77fc564dbfd1"><code>3ba1d37</code></a> Leave pre-releases out of the maxDependencyUpdates rule</li> <li><a href="https://github.com/mojohaus/versions/commit/cad633d0b72ce84fa40dd19979f79d35346b7cbf"><code>cad633d</code></a> Skip the minimumReleaseAge lookup for snapshots</li> <li><a href="https://github.com/mojohaus/versions/commit/531a774e7c2212390cf2bcaf7e0b32f8e6bca150"><code>531a774</code></a> Read a parent plugin declared in several profiles once (<a href="https://redirect.github.com/mojohaus/versions/issues/1490">#1490</a>)</li> <li><a href="https://github.com/mojohaus/versions/commit/5069e195a8fba3a3d6b676f55ed21ad8cfb12607"><code>5069e19</code></a> Leave pre-releases out of display-dependency-updates (<a href="https://redirect.github.com/mojohaus/versions/issues/1491">#1491</a>)</li> <li><a href="https://github.com/mojohaus/versions/commit/88445422648267d936182cef8a97328a583e26a2"><code>8844542</code></a> [maven-release-plugin] prepare for next development iteration</li> <li>See full diff in <a href="https://github.com/mojohaus/versions/compare/2.25.1...2.25.2">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 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>
Bumps `logback.version` from 1.6.6 to 1.6.8. Updates `ch.qos.logback:logback-classic` from 1.6.6 to 1.6.8 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/qos-ch/logback/releases">ch.qos.logback:logback-classic's releases</a>.</em></p> <blockquote> <h2>Logback 1.6.8</h2> <h3>2026-11-19 Release of logback version 1.6.8</h3> <p>• <code>JsonEncoder</code> now always writes valid JSON, whatever the combination of <code>with*</code> options. All strings, including logger names and stack trace elements, are now escaped.</p> <p>• In the output of <code>JsonEncoder</code>, null values are now written as <code>null</code> instead of <code>"null"</code>, and numeric and boolean arguments as JSON numbers and booleans. Markers are written by name. Consumers relying on the previous format may need to be updated.</p> <p>• <code>JsonEncoder</code> admits the new <em>withCallerData</em> option, disabled by default.</p> <p>• The new <code>JsonEventReader</code> class reads the output of <code>JsonEncoder</code> back into logging events. It accepts output written by logback versions since 1.3.8 and adds no new dependency.</p> <p>• Fixed <code>KryoDecoder</code> looping forever on certain damaged streams. <code>KryoDecoder</code> can now start decoding at any epoch header and stop early via <code>decodeWhile</code>.</p> <p>• A bit-wise identical binary of this version can be reproduced by building from <a href="https://github.com/qos-ch/logback">source code</a> at commit 2f625e4c587b6bd33aa3e97576c040cb03140c8d associated with the tag <code>v_1.6.8</code>. The release was built using Java "21" 2023-10-17 LTS build 21.0.1.+12-LTS-29 under Linux Debian 11.6.</p> <h2>Logback 1.6.7</h2> <h3>2026-11-14 Release of logback version 1.6.7</h3> <p>• The <code>scan</code> attribute of the <code><propertiesConfigurator></code> element, when set, now takes precedence over the <code>scan</code> attribute of the top-level <code><configuration></code> element, in both directions. With <code>scan="true"</code> and scanning disabled or unset at the top level, the properties file is now actually monitored for changes. Previously, the file was added to the watch list but no task ever polled it. The scan period is taken from the <code>scanPeriod</code> attribute of the top-level <code><configuration></code> element. Conversely, with <code>scan="false"</code> and <code>scan="true"</code> at the top level, the properties file is no longer monitored. Moreover, when several <code><propertiesConfigurator scan="true"></code> elements are present without top-level scanning, all the referenced files are now monitored. Previously, only the last one was.</p> <p>• Two new modules, <em>logback-core-kryo</em> and <em>logback-classic-kryo</em>, encode and decode logging events with the <a href="https://github.com/EsotericSoftware/kryo">Kryo 5</a> serialization library. <a href="https://logback.qos.ch/manual/encoders.html#KryoEncoder"><code>KryoEncoder</code></a> writes <code>ILoggingEvent</code> instances into a <strong>compact binary stream</strong> and <code>KryoDecoder</code> reads them back. The stream is framed so that the decoder can recover from torn or truncated</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/qos-ch/logback/commit/2f625e4c587b6bd33aa3e97576c040cb03140c8d"><code>2f625e4</code></a> prepare release 1.6.8</li> <li><a href="https://github.com/qos-ch/logback/commit/b8b3e41d449308ac6d2541b5a2db5c71185d9cf9"><code>b8b3e41</code></a> JsonEncoder: always write valid JSON, add JsonEventReader</li> <li><a href="https://github.com/qos-ch/logback/commit/0f0596294eb55ee22a2edc606af7594b3bd5990f"><code>0f05962</code></a> kryo: decode from the start of an epoch, add decodeWhile</li> <li><a href="https://github.com/qos-ch/logback/commit/91649782c43b6c662c1c4b976f21c269bc0dca72"><code>9164978</code></a> kryo: drop frequency-gated map, fix decoder resync, test id reuse</li> <li><a href="https://github.com/qos-ch/logback/commit/75bf5f1e75426d65910a32d31bffffc300c078fc"><code>75bf5f1</code></a> start work on 1.6.8-SNAPSHOT</li> <li><a href="https://github.com/qos-ch/logback/commit/8b97c2fe6dd0cfa298ed3c3dd4f500b942edc63a"><code>8b97c2f</code></a> prepare release 1.6.7</li> <li><a href="https://github.com/qos-ch/logback/commit/764b5c4613edb5c0920edfe7ff2404e778a0f0f1"><code>764b5c4</code></a> kryo: use stream version 0 when KryoEncoder is set to Vanilla</li> <li><a href="https://github.com/qos-ch/logback/commit/b29f465c3a3556a5432f768d37f0b3e127ebc076"><code>b29f465</code></a> kryo: remove V3 and V4 stream encodings, keep Vanilla and V5</li> <li><a href="https://github.com/qos-ch/logback/commit/d42c0129146630e7d769e9e8c2261bb68a3c04e5"><code>d42c012</code></a> add logback-core-kryo and logback-classic-kryo modules</li> <li><a href="https://github.com/qos-ch/logback/commit/069d51abcd1549d67f872fc4a315d585150f8087"><code>069d51a</code></a> remove dead code</li> <li>Additional commits viewable in <a href="https://github.com/qos-ch/logback/compare/v_1.6.6...v_1.6.8">compare view</a></li> </ul> </details> <br /> Updates `ch.qos.logback:logback-core` from 1.6.6 to 1.6.8 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/qos-ch/logback/releases">ch.qos.logback:logback-core's releases</a>.</em></p> <blockquote> <h2>Logback 1.6.8</h2> <h3>2026-11-19 Release of logback version 1.6.8</h3> <p>• <code>JsonEncoder</code> now always writes valid JSON, whatever the combination of <code>with*</code> options. All strings, including logger names and stack trace elements, are now escaped.</p> <p>• In the output of <code>JsonEncoder</code>, null values are now written as <code>null</code> instead of <code>"null"</code>, and numeric and boolean arguments as JSON numbers and booleans. Markers are written by name. Consumers relying on the previous format may need to be updated.</p> <p>• <code>JsonEncoder</code> admits the new <em>withCallerData</em> option, disabled by default.</p> <p>• The new <code>JsonEventReader</code> class reads the output of <code>JsonEncoder</code> back into logging events. It accepts output written by logback versions since 1.3.8 and adds no new dependency.</p> <p>• Fixed <code>KryoDecoder</code> looping forever on certain damaged streams. <code>KryoDecoder</code> can now start decoding at any epoch header and stop early via <code>decodeWhile</code>.</p> <p>• A bit-wise identical binary of this version can be reproduced by building from <a href="https://github.com/qos-ch/logback">source code</a> at commit 2f625e4c587b6bd33aa3e97576c040cb03140c8d associated with the tag <code>v_1.6.8</code>. The release was built using Java "21" 2023-10-17 LTS build 21.0.1.+12-LTS-29 under Linux Debian 11.6.</p> <h2>Logback 1.6.7</h2> <h3>2026-11-14 Release of logback version 1.6.7</h3> <p>• The <code>scan</code> attribute of the <code><propertiesConfigurator></code> element, when set, now takes precedence over the <code>scan</code> attribute of the top-level <code><configuration></code> element, in both directions. With <code>scan="true"</code> and scanning disabled or unset at the top level, the properties file is now actually monitored for changes. Previously, the file was added to the watch list but no task ever polled it. The scan period is taken from the <code>scanPeriod</code> attribute of the top-level <code><configuration></code> element. Conversely, with <code>scan="false"</code> and <code>scan="true"</code> at the top level, the properties file is no longer monitored. Moreover, when several <code><propertiesConfigurator scan="true"></code> elements are present without top-level scanning, all the referenced files are now monitored. Previously, only the last one was.</p> <p>• Two new modules, <em>logback-core-kryo</em> and <em>logback-classic-kryo</em>, encode and decode logging events with the <a href="https://github.com/EsotericSoftware/kryo">Kryo 5</a> serialization library. <a href="https://logback.qos.ch/manual/encoders.html#KryoEncoder"><code>KryoEncoder</code></a> writes <code>ILoggingEvent</code> instances into a <strong>compact binary stream</strong> and <code>KryoDecoder</code> reads them back. The stream is framed so that the decoder can recover from torn or truncated</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/qos-ch/logback/commit/2f625e4c587b6bd33aa3e97576c040cb03140c8d"><code>2f625e4</code></a> prepare release 1.6.8</li> <li><a href="https://github.com/qos-ch/logback/commit/b8b3e41d449308ac6d2541b5a2db5c71185d9cf9"><code>b8b3e41</code></a> JsonEncoder: always write valid JSON, add JsonEventReader</li> <li><a href="https://github.com/qos-ch/logback/commit/0f0596294eb55ee22a2edc606af7594b3bd5990f"><code>0f05962</code></a> kryo: decode from the start of an epoch, add decodeWhile</li> <li><a href="https://github.com/qos-ch/logback/commit/91649782c43b6c662c1c4b976f21c269bc0dca72"><code>9164978</code></a> kryo: drop frequency-gated map, fix decoder resync, test id reuse</li> <li><a href="https://github.com/qos-ch/logback/commit/75bf5f1e75426d65910a32d31bffffc300c078fc"><code>75bf5f1</code></a> start work on 1.6.8-SNAPSHOT</li> <li><a href="https://github.com/qos-ch/logback/commit/8b97c2fe6dd0cfa298ed3c3dd4f500b942edc63a"><code>8b97c2f</code></a> prepare release 1.6.7</li> <li><a href="https://github.com/qos-ch/logback/commit/764b5c4613edb5c0920edfe7ff2404e778a0f0f1"><code>764b5c4</code></a> kryo: use stream version 0 when KryoEncoder is set to Vanilla</li> <li><a href="https://github.com/qos-ch/logback/commit/b29f465c3a3556a5432f768d37f0b3e127ebc076"><code>b29f465</code></a> kryo: remove V3 and V4 stream encodings, keep Vanilla and V5</li> <li><a href="https://github.com/qos-ch/logback/commit/d42c0129146630e7d769e9e8c2261bb68a3c04e5"><code>d42c012</code></a> add logback-core-kryo and logback-classic-kryo modules</li> <li><a href="https://github.com/qos-ch/logback/commit/069d51abcd1549d67f872fc4a315d585150f8087"><code>069d51a</code></a> remove dead code</li> <li>Additional commits viewable in <a href="https://github.com/qos-ch/logback/compare/v_1.6.6...v_1.6.8">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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [at.yawk.lz4:lz4-java](https://github.com/yawkat/lz4-java) from 1.14.0 to 1.14.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/yawkat/lz4-java/releases">at.yawk.lz4:lz4-java's releases</a>.</em></p> <blockquote> <h2>lz4-java v1.14.1</h2> <h2>What's Changed</h2> <ul> <li>Update lz4 to 1.11.1 by <a href="https://github.com/yawkat"><code>@yawkat</code></a> in <a href="https://redirect.github.com/yawkat/lz4-java/pull/181">yawkat/lz4-java#181</a></li> <li>Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.8.0 by <a href="https://github.com/renovate"><code>@renovate</code></a>[bot] in <a href="https://redirect.github.com/yawkat/lz4-java/pull/180">yawkat/lz4-java#180</a></li> <li>Install Zulu JDK 7 from the Azul CDN via jdkfile by <a href="https://github.com/yawkat"><code>@yawkat</code></a> in <a href="https://redirect.github.com/yawkat/lz4-java/pull/185">yawkat/lz4-java#185</a></li> <li>Update actions/setup-java digest to d1374f8 by <a href="https://github.com/renovate"><code>@renovate</code></a>[bot] in <a href="https://redirect.github.com/yawkat/lz4-java/pull/183">yawkat/lz4-java#183</a></li> <li>Add fuzz tests for LZ4FrameInputStream and LZ4BlockInputStream by <a href="https://github.com/Dominik-O22"><code>@Dominik-O22</code></a> in <a href="https://redirect.github.com/yawkat/lz4-java/pull/179">yawkat/lz4-java#179</a></li> <li>Update dependency maven to v3.10.1 by <a href="https://github.com/renovate"><code>@renovate</code></a>[bot] in <a href="https://redirect.github.com/yawkat/lz4-java/pull/184">yawkat/lz4-java#184</a></li> <li>Update bnd.maven.plugin.version to v7.5.0 by <a href="https://github.com/renovate"><code>@renovate</code></a>[bot] in <a href="https://redirect.github.com/yawkat/lz4-java/pull/182">yawkat/lz4-java#182</a></li> <li>Pin the CPU baseline of all natives; align branches for the Intel JCC erratum by <a href="https://github.com/yawkat"><code>@yawkat</code></a> in <a href="https://redirect.github.com/yawkat/lz4-java/pull/187">yawkat/lz4-java#187</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/yawkat/lz4-java/compare/v1.14.0...v1.14.1">https://github.com/yawkat/lz4-java/compare/v1.14.0...v1.14.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/yawkat/lz4-java/commit/11d4075126bd54e6fbaf997dfad505c2991b6acb"><code>11d4075</code></a> Pin the CPU baseline of all natives; align branches for the Intel JCC erratum...</li> <li><a href="https://github.com/yawkat/lz4-java/commit/8d90898c463c8d250624df49c197949ca32370ea"><code>8d90898</code></a> Update dependency biz.aQute.bnd:bnd-maven-plugin to v7.5.0 (<a href="https://redirect.github.com/yawkat/lz4-java/issues/182">#182</a>)</li> <li><a href="https://github.com/yawkat/lz4-java/commit/39dcb7e8f71cf99bfaf04c636c119504ae84db09"><code>39dcb7e</code></a> Update dependency maven to v3.10.1 (<a href="https://redirect.github.com/yawkat/lz4-java/issues/184">#184</a>)</li> <li><a href="https://github.com/yawkat/lz4-java/commit/a828f6662719b9e18e3198ce5711b5ec6e59c189"><code>a828f66</code></a> Add fuzz tests for LZ4FrameInputStream and LZ4BlockInputStream (<a href="https://redirect.github.com/yawkat/lz4-java/issues/179">#179</a>)</li> <li><a href="https://github.com/yawkat/lz4-java/commit/a9c5e9bbe4854bb056d4d1cbece993d874b349ae"><code>a9c5e9b</code></a> Update actions/setup-java digest to d1374f8 (<a href="https://redirect.github.com/yawkat/lz4-java/issues/183">#183</a>)</li> <li><a href="https://github.com/yawkat/lz4-java/commit/f36f2a9304f98f22d57c4366a537c1dd27f5f7de"><code>f36f2a9</code></a> Install Zulu JDK 7 from the Azul CDN via jdkfile (<a href="https://redirect.github.com/yawkat/lz4-java/issues/185">#185</a>)</li> <li><a href="https://github.com/yawkat/lz4-java/commit/09598c025df1da2f9a36f049dada2c38b0a6941e"><code>09598c0</code></a> Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.8.0 (<a href="https://redirect.github.com/yawkat/lz4-java/issues/180">#180</a>)</li> <li><a href="https://github.com/yawkat/lz4-java/commit/a786d21ff5f04f019f8e8feae7461eb975cbfb26"><code>a786d21</code></a> Update lz4 to 1.11.1 (<a href="https://redirect.github.com/yawkat/lz4-java/issues/181">#181</a>)</li> <li>See full diff in <a href="https://github.com/yawkat/lz4-java/compare/v1.14.0...v1.14.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 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>
…che#1513) Bumps [io.netty:netty-bom](https://github.com/netty/netty) from 4.2.20.Final to 4.2.21.Final. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/netty/netty/releases">io.netty:netty-bom's releases</a>.</em></p> <blockquote> <h2>netty-4.2.21.Final</h2> <p>This release fixes a mistake in our build that affected Netty 4.2.20 and 4.1.140, where we accidentally increased the glibc version to 2.33 for x86_64 and aarch64. In this release the glibc version requirements return to their previous versions.</p> <h2>What's Changed</h2> <ul> <li>Stop decoding in Bzip2Decoder after an error by <a href="https://github.com/yawkat"><code>@yawkat</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18259">netty/netty#18259</a></li> <li>Only mirror 127.0.0.1 to the IPv6 loopback in DnsQueryContextManager by <a href="https://github.com/tsegismont"><code>@tsegismont</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18263">netty/netty#18263</a></li> <li>NIO: Correctly catch all exceptions when NioDatagramChannel.block(...) fails by <a href="https://github.com/normanmaurer"><code>@normanmaurer</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18234">netty/netty#18234</a></li> <li>Close channels that are still registered when an IoEventLoop exits on shutdown by <a href="https://github.com/AbhishekShukla1289"><code>@AbhishekShukla1289</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18035">netty/netty#18035</a></li> <li>Do not set SO_REUSEADDR on the UDP socket of TestDnsServer by <a href="https://github.com/normanmaurer"><code>@normanmaurer</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18270">netty/netty#18270</a></li> <li>IoUring: Fall back to buffered writes for non-FileChannelImpl channels by <a href="https://github.com/dreamlike-ocean"><code>@dreamlike-ocean</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18229">netty/netty#18229</a></li> <li>Upgrade lz4-java to 1.13.0 by <a href="https://github.com/yawkat"><code>@yawkat</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18264">netty/netty#18264</a></li> <li>Include TrustManager / KeyManager instances in TLS session id context computations by <a href="https://github.com/chrisvest"><code>@chrisvest</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18256">netty/netty#18256</a></li> <li>Honour qvalues when HttpContentCompressor selects the content encoding by <a href="https://github.com/allthingssecurity"><code>@allthingssecurity</code></a> in <a href="https://redirect.github.com/netty/netty/pull/17726">netty/netty#17726</a></li> <li>Use HTTP dates in ReadOnlyHttp2Headers.containsTimeMillis by <a href="https://github.com/wozhenbang2004"><code>@wozhenbang2004</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18271">netty/netty#18271</a></li> <li>Avoid String.format in MacAddressUtil.formatAddress by <a href="https://github.com/gsmet"><code>@gsmet</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18172">netty/netty#18172</a></li> <li>Initialize the hexadecimal tables of StringUtil lazily and cheaply by <a href="https://github.com/gsmet"><code>@gsmet</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18174">netty/netty#18174</a></li> <li>Use the configured directory when creating disk attributes by <a href="https://github.com/hellboy0621"><code>@hellboy0621</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18297">netty/netty#18297</a></li> <li>SslHandler: Stop wrapping when the transport can not keep up by <a href="https://github.com/normanmaurer"><code>@normanmaurer</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18253">netty/netty#18253</a></li> <li>Add agent command to deduplicate private vulnerability reports by <a href="https://github.com/chrisvest"><code>@chrisvest</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18299">netty/netty#18299</a></li> <li>Encode the char after an unpaired high surrogate in writeUtf8(...) by <a href="https://github.com/b84330808"><code>@b84330808</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18252">netty/netty#18252</a></li> <li>Close a QUIC stream reset by the remote peer once its output is ended by <a href="https://github.com/vietj"><code>@vietj</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18313">netty/netty#18313</a></li> <li>Use the real parameter names in argument-check messages by <a href="https://github.com/Dhairya-007"><code>@Dhairya-007</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18309">netty/netty#18309</a></li> <li>Quic: don't permanently consume stream ids when createStream(...) fails by <a href="https://github.com/Echo009"><code>@Echo009</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18311">netty/netty#18311</a></li> <li>HTTP3: Reject invalid and connection-specific header fields by <a href="https://github.com/Raghuvardhan-Reddy78"><code>@Raghuvardhan-Reddy78</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18298">netty/netty#18298</a></li> <li>Security improvement - allow MqttDecoder's maxBytesInMessage to be changed by <a href="https://github.com/jbertram"><code>@jbertram</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18125">netty/netty#18125</a></li> <li>Discard input after a failed Socks5PrivateAuthRequestDecoder decode by <a href="https://github.com/Raghuvardhan-Reddy78"><code>@Raghuvardhan-Reddy78</code></a> in <a href="https://redirect.github.com/netty/netty/pull/17945">netty/netty#17945</a></li> <li>Call <code>handshakeFailure</code> for failed TLS completion events by <a href="https://github.com/gavinbunney"><code>@gavinbunney</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18323">netty/netty#18323</a></li> <li>Release the handshake response when a WebSocket extension is rejected by <a href="https://github.com/lihanyu1715446406-afk"><code>@lihanyu1715446406-afk</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18322">netty/netty#18322</a></li> <li>Notify <code>LeakListener</code> for every detected leak by <a href="https://github.com/gavinbunney"><code>@gavinbunney</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18324">netty/netty#18324</a></li> <li>Avoid redundant flush scheduling after draining NIO writes by <a href="https://github.com/hellboy0621"><code>@hellboy0621</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18296">netty/netty#18296</a></li> <li>Get plain 'mvn compile' and 'test-compile' working by <a href="https://github.com/chrisvest"><code>@chrisvest</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18300">netty/netty#18300</a></li> <li>IoUring: Merge small buffers between large ones for SENDMSG_ZC by <a href="https://github.com/dreamlike-ocean"><code>@dreamlike-ocean</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18250">netty/netty#18250</a></li> <li>Check the range in ByteBuf.toString(index, length, charset) by <a href="https://github.com/Marti2203"><code>@Marti2203</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18156">netty/netty#18156</a></li> <li>Fail the h2c upgrade stream for all header conversion errors by <a href="https://github.com/yawkat"><code>@yawkat</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18258">netty/netty#18258</a></li> <li>Port 4.2: KQueue/Epoll: Fall back to buffered writes for non-FileChannelImpl channels (<a href="https://redirect.github.com/netty/netty/issues/18278">#18278</a>) by <a href="https://github.com/chrisvest"><code>@chrisvest</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18349">netty/netty#18349</a></li> <li>Handle zero-length and invalid bulk reads in ByteBufInputStream by <a href="https://github.com/wozhenbang2004"><code>@wozhenbang2004</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18272">netty/netty#18272</a></li> <li>Avoid classloader leak via the shared TransferEncodingNotAllowedException by <a href="https://github.com/cardamon"><code>@cardamon</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18342">netty/netty#18342</a></li> <li>Avoid classloader leak via the QPACK stream inactive exceptions by <a href="https://github.com/cardamon"><code>@cardamon</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18343">netty/netty#18343</a></li> <li>Avoid classloader leak via ImmediateEventExecutor terminationFuture failure by <a href="https://github.com/cardamon"><code>@cardamon</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18338">netty/netty#18338</a></li> <li>Fix float matching in read-only HTTP/2 headers by <a href="https://github.com/wozhenbang2004"><code>@wozhenbang2004</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18294">netty/netty#18294</a></li> <li>Fixed: Call <code>handshakeFailure</code> for TLS timeouts and early closes by <a href="https://github.com/chrisvest"><code>@chrisvest</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18363">netty/netty#18363</a></li> <li>Keep adaptive buffer sizes within configured bounds by <a href="https://github.com/leviYX"><code>@leviYX</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18358">netty/netty#18358</a></li> <li>Skip the renegotiation check for servers on BoringSSL and AWS-LC by <a href="https://github.com/doom369"><code>@doom369</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18337">netty/netty#18337</a></li> <li>Canonicalize NaN values written by ByteBufOutputStream by <a href="https://github.com/wozhenbang2004"><code>@wozhenbang2004</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18295">netty/netty#18295</a></li> <li>Link synchronization.lib when building the QUIC codec on Windows by <a href="https://github.com/normanmaurer"><code>@normanmaurer</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18371">netty/netty#18371</a></li> <li>Reject all control characters and DEL in HTTP response reason phrases by <a href="https://github.com/qchole"><code>@qchole</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18331">netty/netty#18331</a></li> <li>Key per-channel traffic shaping state by ChannelId instead of hashCode by <a href="https://github.com/xh123637"><code>@xh123637</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18333">netty/netty#18333</a></li> <li>Fix ZstdDecoder and ZstdDecompressor with a non-positive defaultMaxForwardBytes by <a href="https://github.com/mkurz"><code>@mkurz</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18289">netty/netty#18289</a></li> <li>Fix accidental glibc version bump by <a href="https://github.com/chrisvest"><code>@chrisvest</code></a> in <a href="https://redirect.github.com/netty/netty/pull/18365">netty/netty#18365</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/netty/netty/commit/6416031822ea659beb0a684b16f15680b9282c78"><code>6416031</code></a> [maven-release-plugin] prepare release netty-4.2.21.Final</li> <li><a href="https://github.com/netty/netty/commit/e3cab70052e59cfa66622beeba54c95631e3435c"><code>e3cab70</code></a> HAProxyMessageEncoder: Reject v2 headers longer than 65535 bytes (<a href="https://redirect.github.com/netty/netty/issues/18428">#18428</a>)</li> <li><a href="https://github.com/netty/netty/commit/cd23bac087aff6cedb2f87178908f6c316cb1410"><code>cd23bac</code></a> Pin rustc to 1.100.0 in docker images and workflows (<a href="https://redirect.github.com/netty/netty/issues/18422">#18422</a>)</li> <li><a href="https://github.com/netty/netty/commit/805974b2f31894ee456b0125f759129e003a51f7"><code>805974b</code></a> IoUring: Fail when enabling the ring fails (<a href="https://redirect.github.com/netty/netty/issues/18216">#18216</a>)</li> <li><a href="https://github.com/netty/netty/commit/575580717aa0c29f12d11ecdd6a274b6e8d1fa91"><code>5755807</code></a> Release messages written to a closed EmbeddedChannel (<a href="https://redirect.github.com/netty/netty/issues/18332">#18332</a>)</li> <li><a href="https://github.com/netty/netty/commit/5fe1f1fd65b645add9f5d66706d4a97cd4329a80"><code>5fe1f1f</code></a> Query SSL_pending lazily in ReferenceCountedOpenSslEngine.unwrap (<a href="https://redirect.github.com/netty/netty/issues/18376">#18376</a>)</li> <li><a href="https://github.com/netty/netty/commit/1e718ed4add69f654f7ee4e8d2c4da526985563b"><code>1e718ed</code></a> Share enabled protocols in openssl engine (<a href="https://redirect.github.com/netty/netty/issues/18388">#18388</a>)</li> <li><a href="https://github.com/netty/netty/commit/09a722711c135d8336ae3077552c90b95eed2030"><code>09a7227</code></a> Auto-port 4.2: Don't stop reading domain datagrams after an empty datagram (#...</li> <li><a href="https://github.com/netty/netty/commit/d2a2c48e3c134da68f0653ffe3fb99d0f4ad6ab0"><code>d2a2c48</code></a> Reject SPDY frames that do not fit the 24-bit length field (<a href="https://redirect.github.com/netty/netty/issues/18412">#18412</a>)</li> <li><a href="https://github.com/netty/netty/commit/887f597157a56f69caaa31bb6eb7bb75927246a1"><code>887f597</code></a> Reject negative session timeout and cache size in the QUIC SSLSessionContext ...</li> <li>Additional commits viewable in <a href="https://github.com/netty/netty/compare/netty-4.2.20.Final...netty-4.2.21.Final">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 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>
Bumps `error_prone_core.version` from 2.52.0 to 2.53.0. Updates `com.google.errorprone:error_prone_annotations` from 2.52.0 to 2.53.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.53.0</h2> <p>New checks:</p> <ul> <li><a href="https://errorprone.info/bugpattern/BootclasspathShadowing"><code>BootclasspathShadowing</code></a>: Flag top-level class declarations whose binary name shadows a platform or bootclasspath type (disabled by default).</li> <li><a href="https://errorprone.info/bugpattern/DiscouragedHashKey"><code>DiscouragedHashKey</code></a>: Configurable check for hash-based containers keyed on types (or their subtypes) specified via <code>-XepOpt:DiscouragedHashKey:Types</code> (no-op unless configured).</li> </ul> <p>Other changes:</p> <ul> <li><a href="https://errorprone.info/bugpattern/EqualsHashCode"><code>EqualsHashCode</code></a>: Flag classes that override <code>hashCode</code> without overriding <code>equals</code>, gated by <code>-XepOpt:EqualsHashCode:CheckHashCodeWithoutEquals</code> (enabled by default) (<a href="https://redirect.github.com/google/error-prone/issues/129">#129</a>).</li> <li><a href="https://errorprone.info/bugpattern/MustBeClosedChecker"><code>MustBeClosedChecker</code></a>: Enforce <code>@MustBeClosed</code> on method and constructor references.</li> <li><a href="https://errorprone.info/bugpattern/URLEqualsHashCode"><code>URLEqualsHashCode</code></a>: Rebuild on the shared equality and hash-key analysis engine to also check <code>Multimap</code>, <code>Multiset</code>, <code>Stream.collect</code>, direct equality, assertions, and containment, while ignoring identity and sorted containers.</li> <li><a href="https://errorprone.info/bugpattern/ImpossibleNullComparison"><code>ImpossibleNullComparison</code></a>: Flag impossible null comparisons via <code>Objects.equals</code>, <code>Objects.isNull</code>, and <code>Objects.nonNull</code>.</li> <li><a href="https://errorprone.info/bugpattern/TruthIncompatibleType"><code>TruthIncompatibleType</code></a>: Check Guava <code>Table</code> assertions.</li> <li><a href="https://errorprone.info/bugpattern/PatternMatchingInstanceof"><code>PatternMatchingInstanceof</code></a>: Suggest <code>instanceof Foo<?> foo</code> for raw <code>instanceof Foo</code> checks.</li> <li><a href="https://errorprone.info/bugpattern/CompileTimeConstant"><code>CompileTimeConstant</code></a>: Recognize Guava <code>ImmutableMap.of</code>, <code>ImmutableMultiset.of</code>, <code>ImmutableSortedSet.of</code>, and <code>ImmutableSortedMap.of</code>, as well as JDK <code>List.of</code>, <code>Set.of</code>, and <code>Map.of</code>.</li> <li><a href="https://errorprone.info/bugpattern/Immutable"><code>Immutable</code></a>: Add Gson and Guava <code>TypeToken</code> to <code>WellKnownMutability</code>, and stop caching negative symbol and type lookups across a compilation unit so lazily completed supertypes are resolved reliably.</li> <li><a href="https://errorprone.info/bugpattern/PreconditionsCheckNotNullRepeated"><code>PreconditionsCheckNotNullRepeated</code></a>: Also check Guava's <code>Verify.verifyNotNull</code>.</li> <li><a href="https://errorprone.info/bugpattern/LambdaFunctionalInterface"><code>LambdaFunctionalInterface</code></a>: Only match <code>Integer</code>, <code>Long</code>, and <code>Double</code> type arguments instead of all <code>Number</code> subtypes.</li> <li><a href="https://errorprone.info/bugpattern/EqualsIncompatibleType"><code>EqualsIncompatibleType</code></a> / <code>TypeCompatibility</code>: Avoid false positives with incomplete classpaths.</li> <li><a href="https://errorprone.info/bugpattern/LoopConditionChecker"><code>LoopConditionChecker</code></a> / <a href="https://errorprone.info/bugpattern/TimeUnitConversionChecker"><code>TimeUnitConversionChecker</code></a> / <a href="https://errorprone.info/bugpattern/InlineTrivialConstant"><code>InlineTrivialConstant</code></a> / <a href="https://errorprone.info/bugpattern/NonAtomicVolatileUpdate"><code>NonAtomicVolatileUpdate</code></a>: Recognize compile-time constants in loop conditions (<a href="https://redirect.github.com/google/error-prone/issues/5826">#5826</a>) and <code>TimeUnit</code> conversions (<a href="https://redirect.github.com/google/error-prone/issues/6279">#6279</a>), and unwrap parenthesized expressions in <code>InlineTrivialConstant</code> (<a href="https://redirect.github.com/google/error-prone/issues/6217">#6217</a>) and <code>NonAtomicVolatileUpdate</code> (<a href="https://redirect.github.com/google/error-prone/issues/6214">#6214</a>).</li> <li><a href="https://errorprone.info/bugpattern/StatementSwitchToExpressionSwitch"><code>StatementSwitchToExpressionSwitch</code></a> / <a href="https://errorprone.info/bugpattern/IfChainToSwitch"><code>IfChainToSwitch</code></a>: Fix dead-code deletion after <code>return switch</code> and consolidate reachability handling.</li> <li>Performance: Evaluate <code>MethodMatchers</code> constraints in selectivity order, optimize <code>SuppressionInfo</code>, and reduce per-call overhead across <code>CheckReturnValue</code>, <code>DoNotCall</code>, <code>ParameterName</code>, <code>UnusedMethod</code>, <code>AlmostJavadoc</code>, and several other checks.</li> <li>Check API: Validate package names with <code>SourceVersion.isName</code> in <code>Matchers.packageStartsWith</code>, and document that <code>ASTHelpers.getSymbol(Tree)</code> returns <code>null</code> for parenthesized expressions (<a href="https://redirect.github.com/google/error-prone/issues/6223">#6223</a>).</li> </ul> <p>Closed issues: <a href="https://redirect.github.com/google/error-prone/issues/5826">#5826</a>, <a href="https://redirect.github.com/google/error-prone/issues/6214">#6214</a>, <a href="https://redirect.github.com/google/error-prone/issues/6217">#6217</a>, <a href="https://redirect.github.com/google/error-prone/issues/6223">#6223</a>, <a href="https://redirect.github.com/google/error-prone/issues/6279">#6279</a></p> <p>Full changelog: <a href="https://github.com/google/error-prone/compare/v2.52.0...v2.53.0">https://github.com/google/error-prone/compare/v2.52.0...v2.53.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/google/error-prone/commit/5c3574f9d796d44b95154b865d268f102104a015"><code>5c3574f</code></a> Release Error Prone 2.53.0</li> <li><a href="https://github.com/google/error-prone/commit/8138d15d8204c1b9f04caa888f706e7b0bd25635"><code>8138d15</code></a> Fix NPE in PatternMatchingInstanceof on type variables and raw arrays</li> <li><a href="https://github.com/google/error-prone/commit/496e723f03f60e56fefe9860849ef54a1799214b"><code>496e723</code></a> Avoid <code>TypeCompatibility</code> false positives with incomplete classpaths.</li> <li><a href="https://github.com/google/error-prone/commit/b8bf6ba8f7f5af5544e517162b32456e1afadd24"><code>b8bf6ba</code></a> Ignore explicit constructor invocations in `UnusedReturnValueMatcher.isReturn...</li> <li><a href="https://github.com/google/error-prone/commit/c9bbbdb97e9e64801dfd910fd586bddfba126f99"><code>c9bbbdb</code></a> Reject invalid package names in Matchers.packageStartsWith</li> <li><a href="https://github.com/google/error-prone/commit/e14c5e601037c22c9f1517934768891c877d2fb0"><code>e14c5e6</code></a> Make TruthIncompatibleType check <code>Table</code> assertions.</li> <li><a href="https://github.com/google/error-prone/commit/beb8f899f3f1b9633e7bb2b00cc04044953f32f9"><code>beb8f89</code></a> Bump org.checkerframework:checker-qual from 4.3.1 to 4.4.0 in the dependencie...</li> <li><a href="https://github.com/google/error-prone/commit/f72c29da0eb4b0028294b3e93a9ab1bebb60612a"><code>f72c29d</code></a> Flag impossible null comparisons via <code>Objects.equals</code>, <code>isNull</code>, and <code>nonNull</code>.</li> <li><a href="https://github.com/google/error-prone/commit/d96ec281cd9c588b771a7ab69ad8a7dd2c503e0a"><code>d96ec28</code></a> Fix some bugs in <code>isLikelyToBePublicApi</code>.</li> <li><a href="https://github.com/google/error-prone/commit/fb56246c8fb2ff50029d81dd14ec94e6e016607f"><code>fb56246</code></a> Only match Integer, Long, and Double in LambdaFunctionalInterface.</li> <li>Additional commits viewable in <a href="https://github.com/google/error-prone/compare/v2.52.0...v2.53.0">compare view</a></li> </ul> </details> <br /> Updates `com.google.errorprone:error_prone_core` from 2.52.0 to 2.53.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.53.0</h2> <p>New checks:</p> <ul> <li><a href="https://errorprone.info/bugpattern/BootclasspathShadowing"><code>BootclasspathShadowing</code></a>: Flag top-level class declarations whose binary name shadows a platform or bootclasspath type (disabled by default).</li> <li><a href="https://errorprone.info/bugpattern/DiscouragedHashKey"><code>DiscouragedHashKey</code></a>: Configurable check for hash-based containers keyed on types (or their subtypes) specified via <code>-XepOpt:DiscouragedHashKey:Types</code> (no-op unless configured).</li> </ul> <p>Other changes:</p> <ul> <li><a href="https://errorprone.info/bugpattern/EqualsHashCode"><code>EqualsHashCode</code></a>: Flag classes that override <code>hashCode</code> without overriding <code>equals</code>, gated by <code>-XepOpt:EqualsHashCode:CheckHashCodeWithoutEquals</code> (enabled by default) (<a href="https://redirect.github.com/google/error-prone/issues/129">#129</a>).</li> <li><a href="https://errorprone.info/bugpattern/MustBeClosedChecker"><code>MustBeClosedChecker</code></a>: Enforce <code>@MustBeClosed</code> on method and constructor references.</li> <li><a href="https://errorprone.info/bugpattern/URLEqualsHashCode"><code>URLEqualsHashCode</code></a>: Rebuild on the shared equality and hash-key analysis engine to also check <code>Multimap</code>, <code>Multiset</code>, <code>Stream.collect</code>, direct equality, assertions, and containment, while ignoring identity and sorted containers.</li> <li><a href="https://errorprone.info/bugpattern/ImpossibleNullComparison"><code>ImpossibleNullComparison</code></a>: Flag impossible null comparisons via <code>Objects.equals</code>, <code>Objects.isNull</code>, and <code>Objects.nonNull</code>.</li> <li><a href="https://errorprone.info/bugpattern/TruthIncompatibleType"><code>TruthIncompatibleType</code></a>: Check Guava <code>Table</code> assertions.</li> <li><a href="https://errorprone.info/bugpattern/PatternMatchingInstanceof"><code>PatternMatchingInstanceof</code></a>: Suggest <code>instanceof Foo<?> foo</code> for raw <code>instanceof Foo</code> checks.</li> <li><a href="https://errorprone.info/bugpattern/CompileTimeConstant"><code>CompileTimeConstant</code></a>: Recognize Guava <code>ImmutableMap.of</code>, <code>ImmutableMultiset.of</code>, <code>ImmutableSortedSet.of</code>, and <code>ImmutableSortedMap.of</code>, as well as JDK <code>List.of</code>, <code>Set.of</code>, and <code>Map.of</code>.</li> <li><a href="https://errorprone.info/bugpattern/Immutable"><code>Immutable</code></a>: Add Gson and Guava <code>TypeToken</code> to <code>WellKnownMutability</code>, and stop caching negative symbol and type lookups across a compilation unit so lazily completed supertypes are resolved reliably.</li> <li><a href="https://errorprone.info/bugpattern/PreconditionsCheckNotNullRepeated"><code>PreconditionsCheckNotNullRepeated</code></a>: Also check Guava's <code>Verify.verifyNotNull</code>.</li> <li><a href="https://errorprone.info/bugpattern/LambdaFunctionalInterface"><code>LambdaFunctionalInterface</code></a>: Only match <code>Integer</code>, <code>Long</code>, and <code>Double</code> type arguments instead of all <code>Number</code> subtypes.</li> <li><a href="https://errorprone.info/bugpattern/EqualsIncompatibleType"><code>EqualsIncompatibleType</code></a> / <code>TypeCompatibility</code>: Avoid false positives with incomplete classpaths.</li> <li><a href="https://errorprone.info/bugpattern/LoopConditionChecker"><code>LoopConditionChecker</code></a> / <a href="https://errorprone.info/bugpattern/TimeUnitConversionChecker"><code>TimeUnitConversionChecker</code></a> / <a href="https://errorprone.info/bugpattern/InlineTrivialConstant"><code>InlineTrivialConstant</code></a> / <a href="https://errorprone.info/bugpattern/NonAtomicVolatileUpdate"><code>NonAtomicVolatileUpdate</code></a>: Recognize compile-time constants in loop conditions (<a href="https://redirect.github.com/google/error-prone/issues/5826">#5826</a>) and <code>TimeUnit</code> conversions (<a href="https://redirect.github.com/google/error-prone/issues/6279">#6279</a>), and unwrap parenthesized expressions in <code>InlineTrivialConstant</code> (<a href="https://redirect.github.com/google/error-prone/issues/6217">#6217</a>) and <code>NonAtomicVolatileUpdate</code> (<a href="https://redirect.github.com/google/error-prone/issues/6214">#6214</a>).</li> <li><a href="https://errorprone.info/bugpattern/StatementSwitchToExpressionSwitch"><code>StatementSwitchToExpressionSwitch</code></a> / <a href="https://errorprone.info/bugpattern/IfChainToSwitch"><code>IfChainToSwitch</code></a>: Fix dead-code deletion after <code>return switch</code> and consolidate reachability handling.</li> <li>Performance: Evaluate <code>MethodMatchers</code> constraints in selectivity order, optimize <code>SuppressionInfo</code>, and reduce per-call overhead across <code>CheckReturnValue</code>, <code>DoNotCall</code>, <code>ParameterName</code>, <code>UnusedMethod</code>, <code>AlmostJavadoc</code>, and several other checks.</li> <li>Check API: Validate package names with <code>SourceVersion.isName</code> in <code>Matchers.packageStartsWith</code>, and document that <code>ASTHelpers.getSymbol(Tree)</code> returns <code>null</code> for parenthesized expressions (<a href="https://redirect.github.com/google/error-prone/issues/6223">#6223</a>).</li> </ul> <p>Closed issues: <a href="https://redirect.github.com/google/error-prone/issues/5826">#5826</a>, <a href="https://redirect.github.com/google/error-prone/issues/6214">#6214</a>, <a href="https://redirect.github.com/google/error-prone/issues/6217">#6217</a>, <a href="https://redirect.github.com/google/error-prone/issues/6223">#6223</a>, <a href="https://redirect.github.com/google/error-prone/issues/6279">#6279</a></p> <p>Full changelog: <a href="https://github.com/google/error-prone/compare/v2.52.0...v2.53.0">https://github.com/google/error-prone/compare/v2.52.0...v2.53.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/google/error-prone/commit/5c3574f9d796d44b95154b865d268f102104a015"><code>5c3574f</code></a> Release Error Prone 2.53.0</li> <li><a href="https://github.com/google/error-prone/commit/8138d15d8204c1b9f04caa888f706e7b0bd25635"><code>8138d15</code></a> Fix NPE in PatternMatchingInstanceof on type variables and raw arrays</li> <li><a href="https://github.com/google/error-prone/commit/496e723f03f60e56fefe9860849ef54a1799214b"><code>496e723</code></a> Avoid <code>TypeCompatibility</code> false positives with incomplete classpaths.</li> <li><a href="https://github.com/google/error-prone/commit/b8bf6ba8f7f5af5544e517162b32456e1afadd24"><code>b8bf6ba</code></a> Ignore explicit constructor invocations in `UnusedReturnValueMatcher.isReturn...</li> <li><a href="https://github.com/google/error-prone/commit/c9bbbdb97e9e64801dfd910fd586bddfba126f99"><code>c9bbbdb</code></a> Reject invalid package names in Matchers.packageStartsWith</li> <li><a href="https://github.com/google/error-prone/commit/e14c5e601037c22c9f1517934768891c877d2fb0"><code>e14c5e6</code></a> Make TruthIncompatibleType check <code>Table</code> assertions.</li> <li><a href="https://github.com/google/error-prone/commit/beb8f899f3f1b9633e7bb2b00cc04044953f32f9"><code>beb8f89</code></a> Bump org.checkerframework:checker-qual from 4.3.1 to 4.4.0 in the dependencie...</li> <li><a href="https://github.com/google/error-prone/commit/f72c29da0eb4b0028294b3e93a9ab1bebb60612a"><code>f72c29d</code></a> Flag impossible null comparisons via <code>Objects.equals</code>, <code>isNull</code>, and <code>nonNull</code>.</li> <li><a href="https://github.com/google/error-prone/commit/d96ec281cd9c588b771a7ab69ad8a7dd2c503e0a"><code>d96ec28</code></a> Fix some bugs in <code>isLikelyToBePublicApi</code>.</li> <li><a href="https://github.com/google/error-prone/commit/fb56246c8fb2ff50029d81dd14ec94e6e016607f"><code>fb56246</code></a> Only match Integer, Long, and Double in LambdaFunctionalInterface.</li> <li>Additional commits viewable in <a href="https://github.com/google/error-prone/compare/v2.52.0...v2.53.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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…0 to 2.82.0 (apache#1511) Bumps [com.google.api.grpc:proto-google-common-protos](https://github.com/googleapis/google-cloud-java) from 2.81.0 to 2.82.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/googleapis/google-cloud-java/blob/main/java-document-ai/CHANGELOG.md">com.google.api.grpc:proto-google-common-protos's changelog</a>.</em></p> <blockquote> <h2>2.82.0 (2025-10-21)</h2> <h3>Dependencies</h3> <ul> <li>update dependency com.google.cloud:sdk-platform-java-config to v3.53.0 (<a href="https://redirect.github.com/googleapis/google-cloud-java/issues/11776">#11776</a>) (<a href="https://github.com/googleapis/google-cloud-java/commit/e4a2892c8f7d51e3c3bec551f922b42f70a880d8">e4a2892</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/googleapis/google-cloud-java/commit/73c9a0342f91af269aec66d3951286a800ae0331"><code>73c9a03</code></a> chore(main): release 1.88.0 (<a href="https://redirect.github.com/googleapis/google-cloud-java/issues/13669">#13669</a>)</li> <li><a href="https://github.com/googleapis/google-cloud-java/commit/667e53a687f62db9b60b35b90e071b5bbe70d07c"><code>667e53a</code></a> perf(bigquery-jdbc): optimize metadata introspection performance and parallel...</li> <li><a href="https://github.com/googleapis/google-cloud-java/commit/2f36a71bd7781190e6f5ca7ef4700f6b45ff9c1e"><code>2f36a71</code></a> test(datastore): Migrate datastore tests to use awaitility (<a href="https://redirect.github.com/googleapis/google-cloud-java/issues/13668">#13668</a>)</li> <li><a href="https://github.com/googleapis/google-cloud-java/commit/557d430bfd0342624c43294d2a58ecf0354bfe56"><code>557d430</code></a> build(deps-dev): bump ch.qos.logback:logback-core from 1.5.25 to 1.5.33 in /g...</li> <li><a href="https://github.com/googleapis/google-cloud-java/commit/512e3708f6009e2bbb4ee1ce0d3cd909ec86ece7"><code>512e370</code></a> fix: Add logging-logback to gapic-libraries-bom (<a href="https://redirect.github.com/googleapis/google-cloud-java/issues/13663">#13663</a>)</li> <li><a href="https://github.com/googleapis/google-cloud-java/commit/86d35e4caa364ce02766cb560d73d3ce6affc62d"><code>86d35e4</code></a> fix(ci): run root install in dependency convergence check (<a href="https://redirect.github.com/googleapis/google-cloud-java/issues/13666">#13666</a>)</li> <li><a href="https://github.com/googleapis/google-cloud-java/commit/c8d69cc3957c4151aa1eb367349f6b0992814232"><code>c8d69cc</code></a> test(bigquerystorage): Fix flaky testMultiStreamClosed_multiplexingEnabled (#...</li> <li><a href="https://github.com/googleapis/google-cloud-java/commit/6567e43379752678110e48a14532ad3e0cdee0c0"><code>6567e43</code></a> chore(bigquerystorage): fix flaky ConnectionWorkerPoolTest (<a href="https://redirect.github.com/googleapis/google-cloud-java/issues/13662">#13662</a>)</li> <li><a href="https://github.com/googleapis/google-cloud-java/commit/8afc0abd26061afc41184e49ad4b79461b091276"><code>8afc0ab</code></a> fix(datastore): reduce flakiness of E2E tracing tests (<a href="https://redirect.github.com/googleapis/google-cloud-java/issues/13645">#13645</a>)</li> <li><a href="https://github.com/googleapis/google-cloud-java/commit/7b0ee7682bf473f0132a0b0fcd6112c072ef606c"><code>7b0ee76</code></a> chore(java-bigtable): rename .readme-partials.yml to .readme-partials.yaml (#...</li> <li>Additional commits viewable in <a href="https://github.com/googleapis/google-cloud-java/compare/gax/v2.81.0...gax/v2.82.0">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 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>
…he#1510) Bumps [com.github.luben:zstd-jni](https://github.com/luben/zstd-jni) from 1.5.7-26 to 1.5.7-28. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/luben/zstd-jni/commit/032b96a65bcac481466d9ea04b5580dcac780f53"><code>032b96a</code></a> v1.5.7-28</li> <li><a href="https://github.com/luben/zstd-jni/commit/82cf9c2330a3357658d461d523e9d0a10bc26e49"><code>82cf9c2</code></a> Fix typo</li> <li><a href="https://github.com/luben/zstd-jni/commit/fcafc33848ce562300ac9ba8ee3002ec112d2181"><code>fcafc33</code></a> Add the <code>clean</code> helper script</li> <li><a href="https://github.com/luben/zstd-jni/commit/fcb10bd00cedbffbc043937da06200fe8c82440f"><code>fcb10bd</code></a> Remove the long distance matching benchmarks</li> <li><a href="https://github.com/luben/zstd-jni/commit/66c613df5deb170d071d70eb8016ad5d377ce46a"><code>66c613d</code></a> Release the dictSet only on close</li> <li><a href="https://github.com/luben/zstd-jni/commit/1774001bf3dd6c7983d40dcae1b83f5b1ffa47a1"><code>1774001</code></a> Don't remove installed dicts when flippin setRefMultipleDDicts to false</li> <li><a href="https://github.com/luben/zstd-jni/commit/e9cd53d95c8eb92ac99dcc3266c4c80172494d4b"><code>e9cd53d</code></a> v1.5.7-27</li> <li><a href="https://github.com/luben/zstd-jni/commit/27de3dc02ee9b88b98d1c3c82445eaca00a900f3"><code>27de3dc</code></a> Fix double free</li> <li><a href="https://github.com/luben/zstd-jni/commit/fc89a358a52863e2363afb3a9807498ab379f13b"><code>fc89a35</code></a> More fixes</li> <li><a href="https://github.com/luben/zstd-jni/commit/e7c90cd542be9573c5ceb12ff872b35c59d8d929"><code>e7c90cd</code></a> Also fix the java22 paths</li> <li>Additional commits viewable in <a href="https://github.com/luben/zstd-jni/compare/v1.5.7-26...v1.5.7-28">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 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>
…pache#1517) ## What's Changed `ServerSessionMiddleware.Factory.onCallStarted` splits the `cookie` header on `" ;"` (space, then semicolon) and then on every `=`. Clients send cookie lists as `name=value; name=value` (RFC 6265, and what `ClientCookieMiddleware` and the C++ Flight client produce), so as soon as any other cookie is present, for example a load balancer affinity cookie, the whole header becomes one token with two or more `=`, the loop gives up, and `arrow_flight_session_id` is never found. The call is then served without a session and any options set through `SetSessionOptions` are silently gone. A session id that itself contains `=` (base64 padding) is truncated and rejected with NOT_FOUND. The parser now splits on `;`, splits each pair at the first `=`, trims, strips surrounding double quotes, and skips a malformed entry instead of abandoning the rest of the header, which is what the C++ `ServerSessionMiddlewareFactory::ParseCookieString` does. A header holding only `arrow_flight_session_id=<id>` behaves exactly as before. `TestServerSessionMiddleware` covers the single-cookie, multi-cookie, quoted, `=`-containing, malformed, second-header, missing and unknown-id cases; four of them fail on `main`.
…fset (apache#1518) ## What's Changed Split out from apache#1228. Decode decimal values in decimal holder with correct endianess - we need to flip from machine native endianess to big endian
## What's Changed AvroStringConsumer read string fields with Decoder.readBytes. That works with BinaryDecoder, because the binary encoding for string and bytes is the same. ResolvingDecoder checks the reader schema and throws AvroTypeException: "Attempt to process a bytes when a string was expected." ValidatingDecoder throws the same error, and this change fixes both. The consumer now calls Decoder.readString and copies the Utf8 bytes into the VarCharVector, reusing the Utf8 instance the same way the old code reused a ByteBuffer. Closes apache#832. ## AI Disclosure Human-led contribution. Grok Bot, working for dragonknightk, assisted with this change, including the code, tests, and description. All submitted content was reviewed by a human before submission. Signed-off-by: dragonknightk <37928252+dragonknightk@users.noreply.github.com>
## What's Changed Honor the timeout configured through `DriverManager.setLoginTimeout` during Flight SQL JDBC connection establishment. The timeout covers the authentication handshake and initial session setup. Zero keeps the synchronous connection path without a login deadline. When the deadline expires, return `SQLTimeoutException` and cancel pending login RPCs. Release partially constructed clients, channels, and allocators on failure, and close a connection if it finishes after the caller has timed out. The JDBC login deadline and the Netty `connectTimeoutMs` socket setting are independent. DataSource login-timeout support is tracked separately in apache#1267. ## Testing - Reproduced the stalled authentication on upstream. The driver's two-second login timeout did not fire, and the regression test reached its 15-second guard. - Covered stalled authentication and session setup, cancellation and transport closure, successful connections with zero and positive timeouts, and cleanup after the deadline. The driver and client-handler test classes passed all 32 cases. - Maven verification passed on JDK 21 with 4,607 passing test executions and 73 skips across 14 modules. Checkstyle, Spotless, dependency analysis, and the shaded JAR build passed. - A standalone `DriverManager.getConnection` smoke test using the shaded JAR raised `SQLTimeoutException` in 1,022 ms with a one-second timeout. ## AI disclosure Codex assisted with diagnosis, implementation, tests, validation, and drafting this description. Closes apache#1268. Co-authored-by: Abhishek Prajapati <215712201+Ap-95671@users.noreply.github.com>
…pache#1519) ## What's Changed split from apache#1228, in cases like following ``` writer.startList(); writer.decimal().writeDecimal(new BigDecimal("123.45")); writer.decimal256().writeDecimal256( new BigDecimal("123456789012345678901234567890123456789.01")); ``` we would lose the fact that 2nd values was Decimal256
…pache#1498) ## What's Changed macOS does not ship a `python` executable, so `ci/scripts/build.sh` failed when the release verification script built the source release on macOS. The script now runs `find` from inside `source_dir` to get relative paths. This removes the Python dependency and the macOS-specific branch, so Linux and macOS use the same code path. Closes apache#1497. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…1522) ## What's Changed `Text.validateUTF8Internal` walks the bytes with a lead-byte/trail-byte state machine, but when the loop runs out of input it returns success even if it is still waiting for trail bytes. A value that ends partway through a multi-byte sequence, such as `C3`, `E2 82` or `F0 9F 98`, is reported as valid UTF-8. That helper backs `validateScalars` in `VarCharVector`, `LargeVarCharVector` and `ViewVarCharVector`, so `ValueVectorUtility.validateFull` (and `ArrowReader` with `setValidateBatches(true)`, the option recommended for untrusted IPC input) accepts a Utf8 column holding invalid UTF-8. Lead bytes that are invalid on their own (`FF FE`) were already rejected, which is why the existing tests pass. The fix reports the end position as malformed when the input ends outside the lead-byte state. Valid input is unaffected. `testValidateTruncatedUTF8` in `TestValidateVectorFull` covers truncated 2, 3 and 4 byte sequences for VarChar and LargeVarChar. It fails without the change and passes with it, and the rest of the `vector` tests still pass.
After rebasing onto apache/arrow-java main (10c55b9): - Make PreparedStatement.executeQuery(PollInfoOperation) a default method delegating to executeQuery(), so existing implementers (e.g. the AvaticaParameterBinderTest stub added upstream) keep compiling. - Apply Spotless formatting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add reports/production-recommendation.md: production verdict, behavioral limitations, GetFlightInfo call-site coverage after the rebase onto upstream main, minimal follow-up list, and before/after test results. Point the earlier report and call-site inventory at it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
xborder
force-pushed
the
bdx-645-pollinfo-poc
branch
from
November 25, 2026 21:43
862c3de to
b444a25
Compare
Add a TLA+ model of one progressive ResultSet with a background poller (formal/pollinfo-poll-ahead/PollAhead.tla), a run script that checks the design and a set of deliberately broken variants (run.sh), and a project-local skill (verify-jdbc-poll-ahead) for checking future changes. Within N<=4 endpoints and a limit of 2, eight rules hold for the proposal as written: no premature end, each endpoint once, each continuation once, fail fast, no poll after cancel, backpressure, no spin after empty answers, and termination. "Open streams never exceed the limit" breaks, because one answer can add several endpoints whose streams open at once; with deferred stream opening all nine rules hold. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Poll continuations in the background while the application reads, per reports/poll-ahead-implementation-plan.md and the deferred-open (EagerOpen = FALSE) configuration of formal/pollinfo-poll-ahead/PollAhead.tla. - EndpointPoller chains continuations on a bounded per-connection poller pool (pollInfoPollerThreads), pausing at the unread limit (pollInfoPrefetch) and backing off after empty answers (100 ms doubling to pollInfoMaxBackoffMs). - FlightEndpointDataQueue gains deferred stream opening, an open-unread count, wait-for-more, fail(), and an atomic pauseIfFull()/resume under one lock. The final endpoints and "no more expected" are applied in one locked step. - PollInfoOperation: pollOnce(), cancellable backoff, backoff in pollNextAvailable (the pollInfoPrefetch=0 / fallback path). - ArrowFlightSqlClientHandler.getStream(FlightEndpoint) opens one endpoint. - PollInfoExecutionTest: the read-boundary cancel test uses pollInfoPrefetch=0; add a poll-ahead smoke test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Model the code's real steps instead of atomic ones: the resume after unlocking (against the poller's owned flag), stream opening outside the lock into reserved slots, the orphaned poller run inline by the reader, the reader's idle hook and wait, and the two steps of cancel. The model finds that FlightEndpointDataQueue.awaitNext can hang after a rejected resume (stale idleTried); run.sh records it as a known finding and checks the proposed fix. Add broken variants endIgnoresOpening, openNotReserved, ownedClearedLate and noIdleHook. Move the sync commit in the verify skill to d7c3ed4 and map every action to the new code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…resume Tests (U2): scripted PollFlightInfo server (ScriptedPollQuery) with held DoGet streams, gated/failing/hanging answers and per-request timestamps; PollAheadTest end-to-end through JDBC; FlightEndpointDataQueueDeferredOpenTest for the queue. Fixes: - FlightEndpointDataQueue.awaitNext: reset idleTried after consuming a future, so an orphaned poller is run by the idle hook instead of the reader waiting for a wake-up that was already sent. - ArrowFlightJdbcFlightStreamResultSet.next: a reader blocked on a stream that a continuation failure cancelled reports the recorded failure, not CANCELLED. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The code at dadd45d clears idleTried after every consumed future, which is IdleFix = TRUE. The deferred-open design check now runs with it, including Terminates. finding-stale-idle becomes the broken variant staleIdle (IdleFix = FALSE), which must fail Terminates. The duplicate deferred-open-fixed check is dropped. SKILL.md moves the sync commit to dadd45d and records the stale-idle bug as found by the model and fixed with its regression test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add SharedServerPollAheadTest (burst, trickle, empty-answers, late-error-buffered, cancel, prefetch 0, prepared, opt-out), enabled by the same pollinfo.shared.* properties. Pin the two POC-order assertions in SharedServerPollInfoExecutionTest to pollInfoPrefetch=0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…irst load, fallback, cancel) - Free an endpoint's slot on the application thread when its stream is exhausted (queue.endpointExhausted); no re-enqueue, so the poller no longer waits for completion order or a free reader thread. - Fail the queue for any Throwable on the poller thread (rethrow Errors) and release opener reservations in a finally. - executeQuery's first load no longer waits for unpublished endpoints (queue.nextAvailable); next() waits instead. - Fallback path (prefetch 0 / busy pool) loops while a continuation remains, so zero-row endpoints cannot end the result early. - A cancel racing a poll reports "Statement canceled"; the queue fails before the blocking CancelFlightInfo runs. - populateData exits cancel the unfinished operation. - Stop opening streams after a failure. - Restore interrupt flags; make the poller field volatile. - PollInfoExecutionTest: the UNIMPLEMENTED continuation test accepts the fail-fast failure before the first row under poll-ahead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Serialize the shared-server classes with a cross-JVM file lock held from @BeforeAll to @afterall (Surefire runs several forks against one server); reset in @afterall and wait for do_get_active == 0 before every reset. - Pin the tests that assert POC-order requests or the POC cancel exception (t2, t9) to pollInfoPrefetch=0. - Late failure now surfaces from next(): the failing continuation is held with /hold-poll and released after the streams are open. - Cancel with a poll open uses burst + /hold-poll 2, so endpoints are readable while the poll is open. - Exact failure assertions (class, message, FlightRuntimeException cause), exactly one CancelFlightInfo, a wider cap margin for the backoff gaps. - New: closing an unfinished result with a poll open, and with the poller paused at the limit, sends one CancelFlightInfo and polls no more. - Declare jackson-databind (test scope, version managed by the Jackson BOM) so dependency:analyze accepts the JSON parsing in the shared-server test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Gate fail() and schemaChange() so the first next() cannot race them, and gate the UNIMPLEMENTED continuation of PollInfoExecutionTest: both prefetch variants now assert the exact failure after the first row. - Backoff against cancel, close and the deadline (6 empty answers, cap 5000), on the fallback path (prefetch 0), and a PollBackoff unit test. - Exactly one CancelFlightInfo on the deadline; no zero-wait assertion. - Queue: an opener blocked while fail() or close() runs. - Append-only violations (fewer endpoints, changed ticket) in the scripted server; endpoints with locations; multi-batch and empty leading batches. - Backoff gap assertions: no wait after an answer that adds endpoints, real cap checks; sleep-based waits instead of spin waits. - Pin multi-step on-demand polling to prefetch 0; document the unlimited eager queue (complete first answer, prefetch 0) in the plan. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tion closes A poller that fails the result on a deadline records the failure first and then sends the blocking CancelFlightInfo. A connection closed as soon as next() threw called shutdownNow() on the poller pool, which interrupted that RPC before it reached the server (5 of 5 runs of the reproduction). The statements are already closed at that point, so the pollers are ending: shut the pool down gracefully for up to 2 s before interrupting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…or-handling fixes Mirror 4b83155 in the model and move the sync commit to it. - AppRead is split into AppTake (hand-over, the stream keeps its slot) and AppExhaust (the application's own stream.next() returned false: read and free in one step under the queue lock, as Q.endpointExhausted does). OpenWithinLimit now counts the stream being read. - New rule SlotFreedOnExhaust and broken variant lateRelease (the old re-enqueue and null-future release). A reviewer found the late release, not TLC: lateRelease-old-rules shows every earlier rule passes it. - CancelOp: Statement.cancel's operation cancel runs before the cancelled flag, so a poll it ends is recorded as the queue failure. - A failed queue is inert: ApplyQ is a no-op, OpenReserved registers nothing, ReadFree finds no pending endpoint. New rule FailedQueueInert, variant applyAfterFail. - PollerCrash: any Throwable fails the queue. Variant errorNotReported (an Error kills the poller, next() waits forever, fails Terminates). - SKILL.md: coverage table, not-modeled list (fallback path, cleanup RPC, reader pool), findings 3 and 4. Every run.sh line is ok at N=3 and N=4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The server sees a poll arrive, not the poller start sleeping, so a cancel or close right after the sixth poll ended the RPC instead of the wait, and mutating backoff() to ignore a cancel went unnoticed. Give the poller a moment to answer and start its wait, assert that it is waiting, then cancel. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add a poll-ahead section (behavior, settings, verification, bugs found) and the 2026-11-26 re-validation. Contract item 12 is now implemented by the backoff, so the doc no longer lists it as a reason not to merge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A progressive result that still has a continuation is now always polled by an EndpointPoller; there is no longer a path where the reader polls continuations itself inside next(). - ResultSet: drop the pollNextAvailable loop in loadNextPublishedEndpoint, the prefetch > 0 condition in shouldPollAhead and the startPoller fallback. A busy poller pool leaves the poller orphaned, and the reader runs it inline through the existing idle hook. - EndpointPoller.start() no longer reports failure; it reuses handBack(). - Remove FlightEndpointDataQueue.disablePollAhead(), PollInfoOperation.pollNextAvailable() and the operation's now-unused max-backoff field. - pollInfoPrefetch accepts -1 (auto) or a positive number; 0 and values below -1 are rejected when the connection is created. - Tests: delete the prefetch=0 tests, rewrite the ones pinned to it to assert poll-ahead behavior, replace the busy-pool test with one that shows the second result's poller runs on the reader thread, and add tests for the hand-back to the pool and for the prefetch validation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ith b19d837 EndpointPoller.start() is now owned.set(true); handBack(), so a pool that rejects the start leaves the poller orphaned, like a rejected resume. Init now chooses between a running and an orphaned poller and reuses AppIdle, InlineExit and PollerApplyHandBack. New broken variant rejectedStartUnused (a rejected start leaves the poller unused) fails Terminates. The reader-side fallback caveat is gone from the skill; sync commit moved to b19d837. 23 checks match at N=3 and N=4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first POC's reader-side polling is gone (b19d837): a busy poller pool orphans the poller and the reader runs it inline, and pollInfoPrefetch must be -1 or positive. Update the behavior, settings, test counts and model coverage (23 checks) to match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
BDX-645 POC: the Arrow Java Flight SQL JDBC driver reads progressive
PollFlightInforesults, with no change to the JDBC API.executeQueryreturns as soon as the first endpoint exists. A background poller then fetches continuations while the application reads, so new endpoints are found and downloaded in parallel instead of one at a time.sequenceDiagram participant App as JDBC application participant Reader as ResultSet (app thread) participant Poller as EndpointPoller (poller pool) participant Server as Flight SQL server App->>Reader: executeQuery Reader->>Server: PollFlightInfo(original) Server-->>Reader: [E1] + C1 Reader-->>App: ResultSet Reader->>Server: DoGet E1 Reader->>Poller: start with C1 Poller->>Server: PollFlightInfo(C1) App->>Reader: next() ... reading E1 Server-->>Poller: [E1..E4] + C2 Note over Poller,Server: E2 opens now. E3 and E4 wait (prefetch limit 2),<br/>and the poller pauses until a stream is read. Poller->>Server: DoGet E2 App->>Reader: next() finishes E1 Reader->>Server: DoGet E3 and resumes the pollerWhat the poller does:
There is one polling path. If the poller pool is busy, the poller starts orphaned: the reader runs the same poller code inline when its queue is empty, and hands it back to the pool after an answer adds endpoints. The first POC's reader-side polling was removed.
pollInfoPrefetch-1=max(2, threadPoolSize)-1or positive;0is rejected when the connection opens.pollInfoPollerThreads4pollInfoMaxBackoffMs5000usePollInfotruefalseopts the connection out ofPollFlightInfoentirely.The review asked for a prefetch default of
threadPoolSize, butthreadPoolSizedefaults to 1, and a limit of 1 never polls while an endpoint is being read.Kept from the first POC: fallback to
GetFlightInfoonly when the first poll returnsUNIMPLEMENTED(cached per command family), theusePollInfo=falseopt-out, one deadline for the whole operation, and no re-execution after a later failure.Evidence
Server-side traces from the conformance server (
burstandtricklescenarios, with server-held streams):Poll, DoGet, Poll, DoGet, Poll, DoGet. The next continuation is polled only after the application reads the current endpoints.After (default):
Poll, DoGet E1, Poll C1while the server still holds E1 open.continuationIsPolledWhileTheFirstStreamIsStillHeldpasses.After:
emptyAnswersBackOffExponentiallyUpToTheCapsees gaps of about 100 ms, 200 ms, then the 250 ms cap it sets.SharedServerPollAheadTestvs. the conformance serverSharedServerPollInfoExecutionTest(T1–T9) vs. the conformance serverPollAheadTest,FlightEndpointDataQueueDeferredOpenTest,EndpointPollerTest,PollBackoffTestinstallwith Spotless, Checkstyle,dependency:analyzeformal/pollinfo-poll-ahead/run.sh(TLC 2.19)The model check found one real bug before the tests did: after a rejected resume,
next()could hang on a stale idle flag (fixed indadd45d8a). Each broken variant inrun.shfails on the rule it targets, which shows the rules can fail. Every new unit test was also seen failing against a deliberately broken copy of the code it covers. A code review found a late slot release that the model had assumed away; it is fixed in4b831553cand now has its own rule and broken variant.Merge Danger
Door: two-way
usePollInfo=falseturnsPollFlightInfooff per connection; poll-ahead itself has no off switch, only its limit (pollInfoPrefetch). Nothing is persisted and the wire protocol is unchanged.Blast Radius: queries
PollFlightInfotakes the new path.executeQuery's first poll and theUNIMPLEMENTEDfallback. Unit tests cover them. The model checks both a poller started on the pool and one orphaned by a busy pool.FlightSqlClient.getInfohook and the public JDBC helper classes need a deliberate API design. Limitations, call-site coverage, re-validation commands and the follow-up list are inreports/production-recommendation.md.Rebased onto upstream
main(2026-11-25)The branch is rebased from
91b4a2ca4ontoapache/arrow-javamainat10c55b9c8, 164 upstream commits later. Six JDBC files conflicted, with 15 hunks in total. Most came from apacheGH-62 (054c7b8b7, "Optimize Flight SQL JDBC Statement execution paths"); the rest from apacheGH-1268, apacheGH-1499/apacheGH-1500, apacheGH-1232 and apacheGH-1319/apacheGH-1442.prepareDirectremoved. [Java][FlightSQL] Arrow Flight SQL JDBC Driver makes ActionCreatePreparedStatementRequest even for Statement.executeQuery() and Statement.exeute(). apache/arrow-java#62 already makesStatement.executeQuerysendCommandStatementQuerywithout a prepare. Polling hooks into that path throughArrowFlightSqlClientHandler.getInfo(String, PollInfoOperation).Statement.execute(String)stays prepared, as [Java][FlightSQL] Arrow Flight SQL JDBC Driver makes ActionCreatePreparedStatementRequest even for Statement.executeQuery() and Statement.exeute(). apache/arrow-java#62 intends.ArrowFlightStatementhands cancel, timeout and operation lookups to the prepared statement that shares its handle.PreparedStatement.executeQuery(PollInfoOperation)is adefaultmethod, because a test stub added upstream implements that interface.ArrowFlightJdbcFlightStreamResultSetkeeps upstream's cancel handling and adds progressive enqueue and remaining-deadline handling.usePollInfo=false, direct queries sendGetFlightInfo(CommandStatementQuery), matching upstream's baseline.Jira: BDX-645
Fixture: dremio-employees/helder.gregorio#7
🤖 Generated with Claude Code