ADFA-4551: Remove dead serialver tool and unused public-suffix data#1571
Conversation
SerialVer and its resource bundles (sun/tools/serialver) have no callers anywhere outside their own module - dead code vendored from OpenJDK. Also exclude httpclient's bundled public-suffix cookie-domain list: no code in this repo calls Apache HttpClient directly, so the data is pure dead weight pulled in transitively. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
💤 Files with no reviewable changes (4)
📝 Walkthrough
WalkthroughAndroid packaging now excludes an unused public-suffix resource. The bundled ChangesBuild packaging and tool cleanup
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@claude review |
There was a problem hiding this comment.
Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.
Once credits are available, comment @claude review on this pull request to trigger a review.
Summary
sun.tools.serialver.SerialVertool and its resource bundles - confirmed no callers anywhere outside its own module (dead code carried over from OpenJDK).mozilla/public-suffix-list.txt(~240KB) - no code in this repo calls Apache HttpClient directly, so the cookie-domain data is pure dead weight pulled in transitively.Part of ADFA-4551 (APK size reduction). A larger opportunity was found but not pursued here: jaxp/javac/doclint ship full
jaandzh_CNlocale variants of every diagnostic-message bundle (~800KB+ of the ticket's cited 1.67MB total). Excluding non-English locale properties could be a big win but needs confirmation the app never surfaces localized compiler diagnostics - flagging as a follow-up rather than bundling into this PR.Test plan
:app:assembleV8Debugbuilds successfully with these files removed/excluded