GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — [improve][client] PIP-421: Require Java 17 as the minimum for Pulsar Java client SDK by codelipenghui · Pull Request #24475 · apache/pulsar Conversation
|
|
@codelipenghui Please add the following content to your PR description and select a checkbox: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/pulsarbot run-failure-checks |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
… client SDK This change implements PIP-421 by upgrading the minimum Java version requirement for all Pulsar Java client SDK components from Java 8 to Java 17. Changes include: - Updated pulsar.client.compiler.release property from 8 to 17 - Updated modernizer plugin configurations in all client modules - Fixed Java 17 modernizer violations (URLEncoder, Collection factories) - Updated README.md documentation to reflect Java 17 requirement - Added PIP-421 documentation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
…common - Replace URLEncoder/URLDecoder with Charset-based APIs - Replace ImmutableList/ImmutableMap with Java 9+ collection factories - Update OffloadPoliciesImpl to use List instead of ImmutableList - Simplify Codec class by removing exception handling 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
…rade - Replace ImmutableMap.of() with Map.of() in AbstractCmdConsume.java - Remove unused Guava imports after modernization - Ensure all client modules pass modernizer checks for Java 17 This completes the PIP-421 implementation by resolving the final modernizer violations discovered during the full build process. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Remove obsolete Java 8 and 11 shade CI tests since minimum JDK version is now 17. - Remove Java 8/11 shade test configurations from CI workflow - Remove Java 8 compatibility code from build script (TestNG/Mockito version overrides) - Simplify shade test functions to use default Java version 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
029de64 to
e999359
Compare
There was an error while loading. Please reload this page.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## master #24475 +/- ## ============================================ + Coverage 73.57% 74.29% +0.71% + Complexity 32624 32428 -196 ============================================ Files 1877 1868 -9 Lines 139502 145753 +6251 Branches 15299 16701 +1402 ============================================ + Hits 102638 108284 +5646 + Misses 28908 28891 -17 - Partials 7956 8578 +622
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
/pulsarbot run-failure-checks |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/pulsarbot run-failure-checks |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/pulsarbot run-failure-checks |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…Java client SDK (apache#24475) Co-authored-by: Claude <[email protected]>
…Java client SDK (apache#24475) Co-authored-by: Claude <[email protected]>
…Java client SDK (apache#24475) Co-authored-by: Claude <[email protected]>
BookKeeper 4.18 jars are Java 17 bytecode (verified: class file major 61, vs major 52 for the previous ascentstream 4.17.4.0 fork) and they are part of the client dependency chain, so the shaded client artifacts cannot run on Java 8/11 anymore. apache/pulsar made the same change when adopting PIP-421 "Require Java 17 as the minimum for Pulsar Java client SDK" (apache#24475): the SHADE_RUN matrix keeps only JDK 17+ entries.
BookKeeper 4.18 jars are Java 17 bytecode (verified: class file major 61, vs major 52 for the previous ascentstream 4.17.4.0 fork) and they are part of the client dependency chain, so the shaded client artifacts cannot run on Java 8/11 anymore. apache/pulsar made the same change when adopting PIP-421 "Require Java 17 as the minimum for Pulsar Java client SDK" (apache#24475): the SHADE_RUN matrix keeps only JDK 17+ entries.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.