René's URL Explorer Experiment


Title: Make the Adoptopenjdk package type look at the Temurin repo first for latest assets by johnoliver · Pull Request #522 · actions/setup-java · GitHub

Open Graph Title: Make the Adoptopenjdk package type look at the Temurin repo first for latest assets by johnoliver · Pull Request #522 · actions/setup-java

X Title: Make the Adoptopenjdk package type look at the Temurin repo first for latest assets by johnoliver · Pull Request #522 · actions/setup-java

Description: We are looking to move people off of the old deprecated Adoptopenjdk API to the Temurin API for Hotspot builds. For the vast majority of binaries, the Temurin API will contain the one you want, the outlier cases are: User is using an older (<16) non-lts release User is requesting a very specific version from before Temurin In both cases it means that they are using very old builds. In order to move to the new API, this PR is proposing that requests to AdoptDistribution, are requested against TemurinDistribution first, if they cannot be satisfied by Temurin, then continue the existing unchanged AdoptOpenJDK logic. For the VAST majority of requests, they will be satisfied by Temurin, for the few remaining outliers described above, they will make a second request to the old AdoptOpenJDK API. I am submitting this as a draft to ask if this approach is acceptable in principle.

Open Graph Description: We are looking to move people off of the old deprecated Adoptopenjdk API to the Temurin API for Hotspot builds. For the vast majority of binaries, the Temurin API will contain the one you want, the...

X Description: We are looking to move people off of the old deprecated Adoptopenjdk API to the Temurin API for Hotspot builds. For the vast majority of binaries, the Temurin API will contain the one you want, the...

Opengraph URL: https://github.com/actions/setup-java/pull/522

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ad243837-5d70-43cc-69a4-96ca224427bb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9506:3FCB4A:28438A:3894B3:6A4C9DFC
html-safe-nonce670c463c9895f7bf9d3580be54167f6f0d27a14fe9b0680e6ebef1caaa7ba853
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTA2OjNGQ0I0QToyODQzOEE6Mzg5NEIzOjZBNEM5REZDIiwidmlzaXRvcl9pZCI6IjIzNzU4MTAxMzI3ODI5MTUwNjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacdf5b09c289a14db2ac9e09ac850e65e4d5b35450d80cc2ff5086d3d3b8755c02
hovercard-subject-tagpull_request:1468440362
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,actions,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/actions/setup-java/pull/522/files
twitter:imagehttps://avatars.githubusercontent.com/u/1615532?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1615532?s=400&v=4
og:image:altWe are looking to move people off of the old deprecated Adoptopenjdk API to the Temurin API for Hotspot builds. For the vast majority of binaries, the Temurin API will contain the one you want, the...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/actions/setup-java git https://github.com/actions/setup-java.git
octolytics-dimension-user_id44036562
octolytics-dimension-user_loginactions
octolytics-dimension-repository_id196057608
octolytics-dimension-repository_nwoactions/setup-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id196057608
octolytics-dimension-repository_network_root_nwoactions/setup-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
releaseae90d426644ca15e89bacceb72e51f4e9dbf85f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/actions/setup-java/pull/522/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fsetup-java%2Fpull%2F522%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fsetup-java%2Fpull%2F522%2Ffiles
Sign up https://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=actions%2Fsetup-java
Reloadhttps://github.com/actions/setup-java/pull/522/files
Reloadhttps://github.com/actions/setup-java/pull/522/files
Reloadhttps://github.com/actions/setup-java/pull/522/files
Please reload this pagehttps://github.com/actions/setup-java/pull/522/files
actions https://github.com/actions
setup-javahttps://github.com/actions/setup-java
Notifications https://github.com/login?return_to=%2Factions%2Fsetup-java
Fork 862 https://github.com/login?return_to=%2Factions%2Fsetup-java
Star 1.9k https://github.com/login?return_to=%2Factions%2Fsetup-java
Code https://github.com/actions/setup-java
Issues 37 https://github.com/actions/setup-java/issues
Pull requests 10 https://github.com/actions/setup-java/pulls
Actions https://github.com/actions/setup-java/actions
Projects https://github.com/actions/setup-java/projects
Security and quality 0 https://github.com/actions/setup-java/security
Insights https://github.com/actions/setup-java/pulse
Code https://github.com/actions/setup-java
Issues https://github.com/actions/setup-java/issues
Pull requests https://github.com/actions/setup-java/pulls
Actions https://github.com/actions/setup-java/actions
Projects https://github.com/actions/setup-java/projects
Security and quality https://github.com/actions/setup-java/security
Insights https://github.com/actions/setup-java/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Factions%2Fsetup-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Factions%2Fsetup-java%2Fissues%2Fnew%2Fchoose
gdamshttps://github.com/gdams
actions:mainhttps://github.com/actions/setup-java/tree/main
johnoliver:update-adoptopenjdkhttps://github.com/johnoliver/setup-java/tree/update-adoptopenjdk
Conversation 37 https://github.com/actions/setup-java/pull/522
Commits 7 https://github.com/actions/setup-java/pull/522/commits
Checks 380 https://github.com/actions/setup-java/pull/522/checks
Files changed https://github.com/actions/setup-java/pull/522/files
Please reload this pagehttps://github.com/actions/setup-java/pull/522/files
Make the Adoptopenjdk package type look at the Temurin repo first for latest assets https://github.com/actions/setup-java/pull/522/files#top
Show all changes 7 commits https://github.com/actions/setup-java/pull/522/files
bf12c83 Make the Adoptopenjdk package type look at the Temurin repo first for… johnoliver Jun 12, 2026 https://github.com/actions/setup-java/pull/522/commits/bf12c838ba3f0730c02c0f89b54be42d596538d3
7d2d456 Address Copilot code review comments johnoliver Jun 12, 2026 https://github.com/actions/setup-java/pull/522/commits/7d2d456be4e871e533d34da00a8eb3a03cce5056
5d3f136 Always fall back to legacy AdoptOpenJDK but log all Temurin failures johnoliver Jun 12, 2026 https://github.com/actions/setup-java/pull/522/commits/5d3f13625c438f813a5a917213f7b1ea762a6786
d8f95be Fixes from review johnoliver Jun 12, 2026 https://github.com/actions/setup-java/pull/522/commits/d8f95befc80800afe43dbc5d99a33e0c82369a6f
b8110ec Fixes from review johnoliver Jun 12, 2026 https://github.com/actions/setup-java/pull/522/commits/b8110ecdf3a020ea6e0440579d7a04d1c5df18a1
4826c07 Fixes from review johnoliver Jun 12, 2026 https://github.com/actions/setup-java/pull/522/commits/4826c07bc151bffdae770986d54dee7dfd5dadc0
041d924 Regenerate dist johnoliver Jun 12, 2026 https://github.com/actions/setup-java/pull/522/commits/041d924d8bf6ffc8c2ff8adb8d2c3029818a4340
Clear filters https://github.com/actions/setup-java/pull/522/files
Please reload this pagehttps://github.com/actions/setup-java/pull/522/files
Please reload this pagehttps://github.com/actions/setup-java/pull/522/files
adopt-installer.test.ts https://github.com/actions/setup-java/pull/522/files#diff-68de9d42e37ab79e25cee58faea91e9dc9fb93ee28fae7fbf89f2c9f63b63049
index.js https://github.com/actions/setup-java/pull/522/files#diff-8164d45a0a98040cbf5161c5b6e696920163460bea5f24100a7a01720c4a9a91
package-lock.json https://github.com/actions/setup-java/pull/522/files#diff-053150b640a7ce75eff69d1a22cae7f0f94ad64ce9a855db544dda0929316519
installer.ts https://github.com/actions/setup-java/pull/522/files#diff-681e11cfe89166ff38d7284745622fc40618b1b4a1cd698225e8c4204249df4c
base-installer.ts https://github.com/actions/setup-java/pull/522/files#diff-c95cf181295db10e39ecf69d97011c885155842b632a7430031cd109ff4afd5e
installer.ts https://github.com/actions/setup-java/pull/522/files#diff-58981b7edfb82c494a0d4410beb3d8820f665b3aa2837826c0d2546bc9ef239d
https://github.com/actions/setup-java/blob/main/.github/CODEOWNERS#L1
__tests__/distributors/adopt-installer.test.tshttps://github.com/actions/setup-java/pull/522/files#diff-68de9d42e37ab79e25cee58faea91e9dc9fb93ee28fae7fbf89f2c9f63b63049
View file https://github.com/johnoliver/setup-java/blob/041d924d8bf6ffc8c2ff8adb8d2c3029818a4340/__tests__/distributors/adopt-installer.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/actions/setup-java/pull/522/{{ revealButtonHref }}
https://github.com/actions/setup-java/pull/522/files#diff-68de9d42e37ab79e25cee58faea91e9dc9fb93ee28fae7fbf89f2c9f63b63049
https://github.com/actions/setup-java/pull/522/files#diff-68de9d42e37ab79e25cee58faea91e9dc9fb93ee28fae7fbf89f2c9f63b63049
https://github.com/actions/setup-java/pull/522/files#diff-68de9d42e37ab79e25cee58faea91e9dc9fb93ee28fae7fbf89f2c9f63b63049
https://github.com/actions/setup-java/pull/522/files#diff-68de9d42e37ab79e25cee58faea91e9dc9fb93ee28fae7fbf89f2c9f63b63049
Please reload this pagehttps://github.com/actions/setup-java/pull/522/files
https://github.com/actions/setup-java/pull/522/files#diff-68de9d42e37ab79e25cee58faea91e9dc9fb93ee28fae7fbf89f2c9f63b63049
https://github.com/actions/setup-java/pull/522/files#diff-68de9d42e37ab79e25cee58faea91e9dc9fb93ee28fae7fbf89f2c9f63b63049
https://github.com/actions/setup-java/pull/522/files#diff-68de9d42e37ab79e25cee58faea91e9dc9fb93ee28fae7fbf89f2c9f63b63049
https://github.com/actions/setup-java/pull/522/files#diff-68de9d42e37ab79e25cee58faea91e9dc9fb93ee28fae7fbf89f2c9f63b63049
https://github.com/actions/setup-java/blob/main/.github/CODEOWNERS#L1
dist/setup/index.jshttps://github.com/actions/setup-java/pull/522/files#diff-8164d45a0a98040cbf5161c5b6e696920163460bea5f24100a7a01720c4a9a91
View file https://github.com/johnoliver/setup-java/blob/041d924d8bf6ffc8c2ff8adb8d2c3029818a4340/dist/setup/index.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/actions/setup-java/pull/522/{{ revealButtonHref }}
https://github.com/actions/setup-java/pull/522/files#diff-8164d45a0a98040cbf5161c5b6e696920163460bea5f24100a7a01720c4a9a91
https://github.com/actions/setup-java/pull/522/files#diff-8164d45a0a98040cbf5161c5b6e696920163460bea5f24100a7a01720c4a9a91
https://github.com/actions/setup-java/pull/522/files#diff-8164d45a0a98040cbf5161c5b6e696920163460bea5f24100a7a01720c4a9a91
https://github.com/actions/setup-java/pull/522/files#diff-8164d45a0a98040cbf5161c5b6e696920163460bea5f24100a7a01720c4a9a91
https://github.com/actions/setup-java/pull/522/files#diff-8164d45a0a98040cbf5161c5b6e696920163460bea5f24100a7a01720c4a9a91
https://github.com/actions/setup-java/pull/522/files#diff-8164d45a0a98040cbf5161c5b6e696920163460bea5f24100a7a01720c4a9a91
https://github.com/actions/setup-java/blob/main/.github/CODEOWNERS#L1
package-lock.jsonhttps://github.com/actions/setup-java/pull/522/files#diff-053150b640a7ce75eff69d1a22cae7f0f94ad64ce9a855db544dda0929316519
View file https://github.com/johnoliver/setup-java/blob/041d924d8bf6ffc8c2ff8adb8d2c3029818a4340/package-lock.json
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/actions/setup-java/pull/522/files
https://github.com/actions/setup-java/blob/main/.github/CODEOWNERS#L1
src/distributions/adopt/installer.tshttps://github.com/actions/setup-java/pull/522/files#diff-681e11cfe89166ff38d7284745622fc40618b1b4a1cd698225e8c4204249df4c
View file https://github.com/johnoliver/setup-java/blob/041d924d8bf6ffc8c2ff8adb8d2c3029818a4340/src/distributions/adopt/installer.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/actions/setup-java/pull/522/{{ revealButtonHref }}
https://github.com/actions/setup-java/pull/522/files#diff-681e11cfe89166ff38d7284745622fc40618b1b4a1cd698225e8c4204249df4c
Please reload this pagehttps://github.com/actions/setup-java/pull/522/files
Please reload this pagehttps://github.com/actions/setup-java/pull/522/files
Please reload this pagehttps://github.com/actions/setup-java/pull/522/files
Please reload this pagehttps://github.com/actions/setup-java/pull/522/files
Please reload this pagehttps://github.com/actions/setup-java/pull/522/files
Please reload this pagehttps://github.com/actions/setup-java/pull/522/files
Please reload this pagehttps://github.com/actions/setup-java/pull/522/files
Please reload this pagehttps://github.com/actions/setup-java/pull/522/files
Please reload this pagehttps://github.com/actions/setup-java/pull/522/files
https://github.com/actions/setup-java/pull/522/files#diff-681e11cfe89166ff38d7284745622fc40618b1b4a1cd698225e8c4204249df4c
https://github.com/actions/setup-java/blob/main/.github/CODEOWNERS#L1
src/distributions/base-installer.tshttps://github.com/actions/setup-java/pull/522/files#diff-c95cf181295db10e39ecf69d97011c885155842b632a7430031cd109ff4afd5e
View file https://github.com/johnoliver/setup-java/blob/041d924d8bf6ffc8c2ff8adb8d2c3029818a4340/src/distributions/base-installer.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/actions/setup-java/pull/522/{{ revealButtonHref }}
https://github.com/actions/setup-java/pull/522/files#diff-c95cf181295db10e39ecf69d97011c885155842b632a7430031cd109ff4afd5e
https://github.com/actions/setup-java/pull/522/files#diff-c95cf181295db10e39ecf69d97011c885155842b632a7430031cd109ff4afd5e
https://github.com/actions/setup-java/blob/main/.github/CODEOWNERS#L1
src/distributions/temurin/installer.tshttps://github.com/actions/setup-java/pull/522/files#diff-58981b7edfb82c494a0d4410beb3d8820f665b3aa2837826c0d2546bc9ef239d
View file https://github.com/johnoliver/setup-java/blob/041d924d8bf6ffc8c2ff8adb8d2c3029818a4340/src/distributions/temurin/installer.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/actions/setup-java/pull/522/{{ revealButtonHref }}
https://github.com/actions/setup-java/pull/522/files#diff-58981b7edfb82c494a0d4410beb3d8820f665b3aa2837826c0d2546bc9ef239d
Please reload this pagehttps://github.com/actions/setup-java/pull/522/files
Please reload this pagehttps://github.com/actions/setup-java/pull/522/files
https://github.com/actions/setup-java/pull/522/files#diff-58981b7edfb82c494a0d4410beb3d8820f665b3aa2837826c0d2546bc9ef239d
Please reload this pagehttps://github.com/actions/setup-java/pull/522/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.