René's URL Explorer Experiment


Title: Shaded google dependency points to dangling annotation references · Issue #4436 · graphql-java/graphql-java · GitHub

Open Graph Title: Shaded google dependency points to dangling annotation references · Issue #4436 · graphql-java/graphql-java

X Title: Shaded google dependency points to dangling annotation references · Issue #4436 · graphql-java/graphql-java

Description: Hi team, I have been running Spring for GraphQL tests against GraphQL Java 26.0 for a while now. But as I'm preparing for the next minor version, I am trying to compile the project against 26.0 and getting compiler warnings like this. :s...

Open Graph Description: Hi team, I have been running Spring for GraphQL tests against GraphQL Java 26.0 for a while now. But as I'm preparing for the next minor version, I am trying to compile the project against 26.0 and...

X Description: Hi team, I have been running Spring for GraphQL tests against GraphQL Java 26.0 for a while now. But as I'm preparing for the next minor version, I am trying to compile the project against 26.0...

Opengraph URL: https://github.com/graphql-java/graphql-java/issues/4436

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Shaded google dependency points to dangling annotation references","articleBody":"Hi team,\n\nI have been running Spring for GraphQL tests against GraphQL Java 26.0 for a while now.\nBut as I'm preparing for the next minor version, I am trying to compile the project against 26.0 and getting compiler warnings [like this](https://ge.spring.io/s/gbe5qn2httlk6).\n\n```\n:spring-graphql:compileJava FAILED\t\n/Users/bclozel/.gradle/caches/modules-2/files-2.1/com.graphql-java/graphql-java/26.0/d1a1d3005ca6f4a87b4a985a1907b22bf5b63700/graphql-java-26.0.jar(/graphql/com/google/common/collect/ImmutableList.class): warning: [classfile] Cannot find annotation method 'serializable()' in type 'GwtCompatible': class file for com.google.common.annotations.GwtCompatible not found\t\n/Users/bclozel/.gradle/caches/modules-2/files-2.1/com.graphql-java/graphql-java/26.0/d1a1d3005ca6f4a87b4a985a1907b22bf5b63700/graphql-java-26.0.jar(/graphql/com/google/common/collect/ImmutableList.class): warning: [classfile] Cannot find annotation method 'emulated()' in type 'GwtCompatible'\t\n/Users/bclozel/.gradle/caches/modules-2/files-2.1/com.graphql-java/graphql-java/26.0/d1a1d3005ca6f4a87b4a985a1907b22bf5b63700/graphql-java-26.0.jar(/graphql/com/google/common/collect/ImmutableList.class): warning: [classfile] Cannot find annotation method 'value()' in type 'DoNotCall': class file for com.google.errorprone.annotations.DoNotCall not found\t\n/Users/bclozel/.gradle/caches/modules-2/files-2.1/com.graphql-java/graphql-java/26.0/d1a1d3005ca6f4a87b4a985a1907b22bf5b63700/graphql-java-26.0.jar(/graphql/com/google/common/collect/ImmutableList.class): warning: [classfile] Cannot find annotation method 'value()' in type 'DoNotCall'\t\n/Users/bclozel/.gradle/caches/modules-2/files-2.1/com.graphql-java/graphql-java/26.0/d1a1d3005ca6f4a87b4a985a1907b22bf5b63700/graphql-java-26.0.jar(/graphql/com/google/common/collect/ImmutableList.class): warning: [classfile] Cannot find annotation method 'value()' in type 'DoNotCall'\t\n/Users/bclozel/.gradle/caches/modules-2/files-2.1/com.graphql-java/graphql-java/26.0/d1a1d3005ca6f4a87b4a985a1907b22bf5b63700/graphql-java-26.0.jar(/graphql/com/google/common/collect/ImmutableList.class): warning: [classfile] Cannot find annotation method 'value()' in type 'DoNotCall'\t\n/Users/bclozel/.gradle/caches/modules-2/files-2.1/com.graphql-java/graphql-java/26.0/d1a1d3005ca6f4a87b4a985a1907b22bf5b63700/graphql-java-26.0.jar(/graphql/com/google/common/collect/ImmutableList.class): warning: [classfile] Cannot find annotation method 'value()' in type 'DoNotCall'\t\n/Users/bclozel/.gradle/caches/modules-2/files-2.1/com.graphql-java/graphql-java/26.0/d1a1d3005ca6f4a87b4a985a1907b22bf5b63700/graphql-java-26.0.jar(/graphql/com/google/common/collect/ImmutableList.class): warning: [classfile] Cannot find annotation method 'value()' in type 'DoNotCall'\t\n/Users/bclozel/.gradle/caches/modules-2/files-2.1/com.graphql-java/graphql-java/26.0/d1a1d3005ca6f4a87b4a985a1907b22bf5b63700/graphql-java-26.0.jar(/graphql/com/google/common/collect/ImmutableList.class): warning: [classfile] Cannot find annotation method 'replacement()' in type 'InlineMe': class file for com.google.errorprone.annotations.InlineMe not found\t\nerror: warnings found and -Werror specified\n```\n\nThis is breaking my build since it's compiling with `javac -Xlint:classfile -Werror`\n\n\nIt looks like 26.0 shades relocated Guava classes (like `graphql.com.google.common.collect.ImmutableList`) whose bytecode still carries `RuntimeInvisibleAnnotations` referencing the original relocated annotation\ntypes:\n\n* `com.google.common.annotations.GwtCompatible`\n* `com.google.errorprone.annotations.DoNotCall`\n* `com.google.errorprone.annotations.InlineMe`\n\nThose classes are not present in the jar and this causes the compiler issues.\n\nYou can reproduce this with a minimal build like and run `compileJava`: \n\n```groovy\ndependencies {\n    implementation 'com.graphql-java:graphql-java:26.0'\n}\n\ntasks.withType(JavaCompile).configureEach {\n    options.compilerArgs += ['-Xlint:classfile', '-Werror']\n}\n```\n\nI can't reproduce this with 25.0, but I'm not sure when/how this was introduced.\nI guess the shadowJar task configuration must be updated to avoid such problems.","author":{"url":"https://github.com/bclozel","@type":"Person","name":"bclozel"},"datePublished":"2026-08-05T19:17:33Z","url":"https://github.com/graphql-java/graphql-java/issues/4436"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a68c4e96-2f95-e245-9206-38dae786e62b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE7E0:24555E:E22706:12D7241:6AED46AA
html-safe-nonce2ce0dae6e47a068c83c578dd91ad431eb98fe45c10b2b5abb1e7fd9c4e7f12b7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0UwOjI0NTU1RTpFMjI3MDY6MTJENzI0MTo2QUVENDZBQSIsInZpc2l0b3JfaWQiOiIyNDA4ODUyNjAwMzk2NzkzNTE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac585f85f8e0cfae70395e7cc9eac0b242a9cea61c255a04f8060dadee373b24d4
hovercard-subject-tagissue:5074404261
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/graphql-java/graphql-java/4436/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c866d8136fd33fa1d54d6c9a56816bcef9578fa94756237f4edf12b33dbe16fa/graphql-java/graphql-java/issues/4436
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c866d8136fd33fa1d54d6c9a56816bcef9578fa94756237f4edf12b33dbe16fa/graphql-java/graphql-java/issues/4436
og:image:altHi team, I have been running Spring for GraphQL tests against GraphQL Java 26.0 for a while now. But as I'm preparing for the next minor version, I am trying to compile the project against 26.0 and...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebclozel
hostnamegithub.com
expected-hostnamegithub.com
None56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11
turbo-cache-controlno-preview
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
disable-turbofalse
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
react-app-nameissues

Links:

Skip to contenthttps://github.com/graphql-java/graphql-java/issues/4436#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-java%2Fgraphql-java%2Fissues%2F4436
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-java%2Fgraphql-java%2Fissues%2F4436
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=graphql-java%2Fgraphql-java
Reloadhttps://github.com/graphql-java/graphql-java/issues/4436
Reloadhttps://github.com/graphql-java/graphql-java/issues/4436
Reloadhttps://github.com/graphql-java/graphql-java/issues/4436
graphql-javahttps://github.com/graphql-java
graphql-javahttps://github.com/graphql-java/graphql-java
Codehttps://github.com/graphql-java/graphql-java
Issues27 (27)https://github.com/graphql-java/graphql-java/issues
Pull requests32 (32)https://github.com/graphql-java/graphql-java/pulls
Discussionshttps://github.com/graphql-java/graphql-java/discussions
Actionshttps://github.com/graphql-java/graphql-java/actions
Projectshttps://github.com/graphql-java/graphql-java/projects
Wikihttps://github.com/graphql-java/graphql-java/wiki
Security and qualityhttps://github.com/graphql-java/graphql-java/security
Insightshttps://github.com/graphql-java/graphql-java/pulse
https://github.com/graphql-java/graphql-java
New issuehttps://github.com/login?return_to=https://github.com/graphql-java/graphql-java/issues/4436
New issuehttps://github.com/login?return_to=https://github.com/graphql-java/graphql-java/issues/4436
Shaded google dependency points to dangling annotation referenceshttps://github.com/graphql-java/graphql-java/issues/4436#top
https://github.com/bclozel
bclozelhttps://github.com/bclozel
on Aug 5, 2026https://github.com/graphql-java/graphql-java/issues/4436#issue-5074404261
like thishttps://ge.spring.io/s/gbe5qn2httlk6
https://github.com/bclozel
bclozelhttps://github.com/bclozel
on Aug 19, 2026https://github.com/graphql-java/graphql-java/issues/4436#issuecomment-5343599156
2e7c4fchttps://github.com/graphql-java/graphql-java/commit/2e7c4fc169f34afb16a19ddc70affbf3cb9b7eff
e12c074https://github.com/graphql-java/graphql-java/commit/e12c0742709177e45a34e1ddb008259da7d74693
now visible in a lambdahttps://github.com/graphql-java/graphql-java/blob/e12c0742709177e45a34e1ddb008259da7d74693/src/main/java/graphql/schema/GraphQLSchema.java#L187
https://github.com/bclozel
bclozelhttps://github.com/bclozel
on Aug 20, 2026https://github.com/graphql-java/graphql-java/issues/4436#issuecomment-5354167051
#4445https://github.com/graphql-java/graphql-java/pull/4445
bclozelhttps://github.com/bclozel
not plannedhttps://github.com/graphql-java/graphql-java/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Aug 20, 2026https://github.com/graphql-java/graphql-java/issues/4436#event-29735012439
Sign up for freehttps://github.com/signup?return_to=https://github.com/graphql-java/graphql-java/issues/4436
Sign in to commenthttps://github.com/login?return_to=https://github.com/graphql-java/graphql-java/issues/4436
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.