René's URL Explorer Experiment


Title: Backport 26.1: Remove dependency annotations from shaded classes by andimarek · Pull Request #4452 · graphql-java/graphql-java · GitHub

Open Graph Title: Backport 26.1: Remove dependency annotations from shaded classes by andimarek · Pull Request #4452 · graphql-java/graphql-java

X Title: Backport 26.1: Remove dependency annotations from shaded classes by andimarek · Pull Request #4452 · graphql-java/graphql-java

Description: Backport of #4445 to the 26.x maintenance branch. This also upgrades the Shadow Gradle plugin from 9.3.2 to 9.4.2 so the backport can retain the original artifact lifecycle configuration. Summary define an explicit list of unbundled CLASS-retention annotations to remove from shaded class files add an ASM-powered cleanup stage after shadowing and before final JAR assembly preserve invisible annotations whose annotation classes are bundled, including GraphQL Java and relocated dependency annotations reject new RuntimeInvisibleAnnotations and RuntimeInvisibleParameterAnnotations whose annotation classes are not bundled and are not in the removal list share the class-file rewrite machinery with the existing JaCoCo annotation task compile a Java 11 consumer with class-file warnings treated as errors make the annotation-cleaned JAR the sole unclassified binary artifact and the sole main artifact used by consumers, signing, and publication Artifact pipeline The regular jar and shadowJar outputs are internal inputs to the cleanup pipeline. They now have explicit plain and shadow classifiers and live under build/intermediates, outside build/libs. buildFinalJar is the only task that writes the unclassified binary JAR to build/libs. It consumes the annotation-cleaned class tree directly, so Gradle tracks the actual final archive instead of a temporary archive that is renamed in doLast. The Java API and runtime variants both expose buildFinalJar. The Shadow Java variant and assemble hook are disabled, and shadowRuntimeElements is non-consumable, so dependency resolution cannot select the uncleaned intermediate. Direct signing, Maven Local publication, and remote publication all depend on verification of the final JAR. This separation matters because multiple tasks previously owned the same output path. A direct shadowJar invocation could overwrite the cleaned JAR while Gradle still considered the cleanup/reassembly tasks up to date. Unique intermediate paths plus a single final producer remove that failure mode. Verification ./gradlew outgoingVariants: API and runtime variants expose only buildFinalJar; no consumable Shadow variant remains ./gradlew clean test assemble verifyShadedClassAnnotations compileShadedJarConsumer: passed, including 5,737 tests ./gradlew check -x test -x testng: passed isolated publishGraphqlJavaPublicationToMavenLocal: published only the main, sources, Javadoc, and POM artifacts the isolated Maven-local main JAR had the same SHA-256 as the buildFinalJar output direct ./gradlew jar shadowJar invocation left the final JAR SHA-256 unchanged The cleanup currently removes 1,345 annotations from 330 shaded class files. Artifact size Both artifacts were built through their complete publication pipelines with the same fixed 999.0.0-size-test release version. Artifact Size origin/master before removal 3,878,053 bytes This PR after removal 3,873,126 bytes Reduction 4,927 bytes (0.127%) The uncompressed JAR contents decrease by 16,152 bytes. Both archives contain 2,394 entries, and their manifests are identical.

Open Graph Description: Backport of #4445 to the 26.x maintenance branch. This also upgrades the Shadow Gradle plugin from 9.3.2 to 9.4.2 so the backport can retain the original artifact lifecycle configuration. Summary ...

X Description: Backport of #4445 to the 26.x maintenance branch. This also upgrades the Shadow Gradle plugin from 9.3.2 to 9.4.2 so the backport can retain the original artifact lifecycle configuration. Summary ...

Opengraph URL: https://github.com/graphql-java/graphql-java/pull/4452

X: @github

direct link

Domain: redirect.github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:6b001150-e1e5-2ce4-10e1-531e0fc3daf9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBA9E:3865E3:C56147:101F385:6AED4B44
html-safe-nonce85c096a63d29d7f75fb5c6cc92e7947092efe49c72729030a5629da952f85dae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTlFOjM4NjVFMzpDNTYxNDc6MTAxRjM4NTo2QUVENEI0NCIsInZpc2l0b3JfaWQiOiIzNTM2ODU4MTc5MzgwNzkyMTMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacff9e4e0a998821c3f21321babceb69f1ccc867eca3cbbdf89e3caaa98cbfdc3d
hovercard-subject-tagpull_request:4318661298
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/graphql-java/graphql-java/pull/4452/files
twitter:imagehttps://avatars.githubusercontent.com/u/1706744?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1706744?s=400&v=4
og:image:altBackport of #4445 to the 26.x maintenance branch. This also upgrades the Shadow Gradle plugin from 9.3.2 to 9.4.2 so the backport can retain the original artifact lifecycle configuration. Summary ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/graphql-java/graphql-java git https://github.com/graphql-java/graphql-java.git
octolytics-dimension-user_id14289921
octolytics-dimension-user_logingraphql-java
octolytics-dimension-repository_id38602457
octolytics-dimension-repository_nwographql-java/graphql-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38602457
octolytics-dimension-repository_network_root_nwographql-java/graphql-java
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/graphql-java/graphql-java/pull/4452/files#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-java%2Fgraphql-java%2Fpull%2F4452%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-java%2Fgraphql-java%2Fpull%2F4452%2Ffiles
Sign uphttps://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=graphql-java%2Fgraphql-java
Reloadhttps://redirect.github.com/graphql-java/graphql-java/pull/4452/files
Reloadhttps://redirect.github.com/graphql-java/graphql-java/pull/4452/files
Reloadhttps://redirect.github.com/graphql-java/graphql-java/pull/4452/files
graphql-javahttps://redirect.github.com/graphql-java
graphql-javahttps://redirect.github.com/graphql-java/graphql-java
Codehttps://redirect.github.com/graphql-java/graphql-java
Issues27 (27)https://redirect.github.com/graphql-java/graphql-java/issues
Pull requests32 (32)https://redirect.github.com/graphql-java/graphql-java/pulls
Discussionshttps://redirect.github.com/graphql-java/graphql-java/discussions
Actionshttps://redirect.github.com/graphql-java/graphql-java/actions
Projectshttps://redirect.github.com/graphql-java/graphql-java/projects
Wikihttps://redirect.github.com/graphql-java/graphql-java/wiki
Security and qualityhttps://redirect.github.com/graphql-java/graphql-java/security
Insightshttps://redirect.github.com/graphql-java/graphql-java/pulse
Sign up for GitHub https://redirect.github.com/signup?return_to=%2Fgraphql-java%2Fgraphql-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://redirect.github.com/login?return_to=%2Fgraphql-java%2Fgraphql-java%2Fissues%2Fnew%2Fchoose
andimarekhttps://redirect.github.com/andimarek
26.xhttps://redirect.github.com/graphql-java/graphql-java/tree/26.x
codex/backport-4445-to-26.xhttps://redirect.github.com/graphql-java/graphql-java/tree/codex/backport-4445-to-26.x
Conversation 1 https://redirect.github.com/graphql-java/graphql-java/pull/4452
Commits 1 https://redirect.github.com/graphql-java/graphql-java/pull/4452/commits
Checks 11 https://redirect.github.com/graphql-java/graphql-java/pull/4452/checks
Files changed https://redirect.github.com/graphql-java/graphql-java/pull/4452/files
Please reload this pagehttps://redirect.github.com/graphql-java/graphql-java/pull/4452/files
Backport 26.1: Remove dependency annotations from shaded classes https://redirect.github.com/graphql-java/graphql-java/pull/4452/files#top
Show all changes 1 commit https://redirect.github.com/graphql-java/graphql-java/pull/4452/files
2cbc30e Remove dependency annotations from shaded classes (#4445) andimarek Aug 20, 2026 https://redirect.github.com/graphql-java/graphql-java/pull/4452/commits/2cbc30ea4fb98a59631609be4533b4d533b399ea
Clear filters https://redirect.github.com/graphql-java/graphql-java/pull/4452/files
Please reload this pagehttps://redirect.github.com/graphql-java/graphql-java/pull/4452/files
Please reload this pagehttps://redirect.github.com/graphql-java/graphql-java/pull/4452/files
build.gradle https://redirect.github.com/graphql-java/graphql-java/pull/4452/files#diff-49a96e7eea8a94af862798a45174e6ac43eb4f8b4bd40759b5da63ba31ec3ef7
ShadedJarConsumer.java https://redirect.github.com/graphql-java/graphql-java/pull/4452/files#diff-2286b2fdb90332b0cbf3a7f5b9b8746eb52b6a1ab8d10265bd760d4c5ffab661
Please reload this pagehttps://redirect.github.com/graphql-java/graphql-java/pull/4452/files
Please reload this pagehttps://redirect.github.com/graphql-java/graphql-java/pull/4452/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.