setup-java/__tests__/data
James Wald d3530c1eb4
dist: Migrate from Zulu Discovery API to Azul Metadata API (#1010)
* Use Azul metadata API

* Document arm64 -> aarch64 mapping in README.md

* Paginate through all available versions

* Fix typo: win_aarhc4

* Only query for linux_glibc packages

* Add Zulu CRaC package support to metadata migration

Fold CRaC-related work into the Zulu metadata API migration by wiring crac_supported query handling, extending Zulu package docs, and updating installer tests for jdk+crac/jre+crac behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Harden Zulu metadata pagination with safety cap

- Stop paginating on a short page to avoid an extra empty request
- Guard against undefined results (not just null)
- Cap iterations at 100 pages and warn if the limit is hit to
  prevent a runaway loop if the API misbehaves

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Preserve JDK build number from Azul Metadata API

The Azul Metadata API returns java_version as a 3-element array
(e.g. [17,0,7]) and reports the build number separately in
openjdk_build_number. The migration mapped version directly from
java_version, dropping the build and breaking exact-version lookups
like 17.0.7+7 (e2e failure: "No matching version found for SemVer").

Add openjdk_build_number to IZuluVersions and append it to
java_version before converting to semver so resolved versions retain
the build (e.g. 17.0.7+7). Update the zulu test fixtures to mirror the
real API shape (3-element java_version plus openjdk_build_number) so
unit tests exercise the actual response format, and rebuild dist.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Bruno Borges <brborges@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-08 10:00:43 +01:00
..
adopt.json Merge "v2-preview" branch into "main" (#150) 2021-04-05 13:02:27 +03:00
corretto.json Add Amazon Corretto distribution (#312) 2022-04-29 12:38:36 +02:00
dragonwell.json Fix the bug about parsing dragonwell version (#642) (#643) 2024-08-01 14:14:38 -05:00
jetbrains.json Fix: prevent default installation of JetBrains pre-releases (#859) 2025-07-03 12:03:51 -05:00
kona.json dist: Support Tencent Kona JDK (#672) 2026-07-07 11:00:40 -04:00
liberica-linux.json Added Windows Arm64 Support for Windows Arm64 Runners (#595) 2024-02-27 23:11:33 -06:00
liberica-windows.json Added Windows Arm64 Support for Windows Arm64 Runners (#595) 2024-02-27 23:11:33 -06:00
liberica.json Add support for Liberica JDK (#225) 2021-11-29 12:15:06 +03:00
microsoft.json feat: add microsoft openjdk 17.0.18 (#1002) 2026-06-22 11:56:08 -04:00
sapmachine.json feat: add support for SapMachine JDK/JRE (#614) 2024-09-05 14:04:24 -05:00
sdkman-java-versions.csv feat: Add distribution detection support to .sdkmanrc file (#975) 2026-07-07 14:49:12 -04:00
semeru.json IBM Semeru (OpenJ9) Support (#289) 2023-03-21 10:32:38 +01:00
temurin.json feat: Add verify-signature plumbing and Temurin+Microsoft verification support (#1060) 2026-06-29 13:19:49 +01:00
zulu-linux.json dist: Migrate from Zulu Discovery API to Azul Metadata API (#1010) 2026-07-08 10:00:43 +01:00
zulu-releases-default.json dist: Migrate from Zulu Discovery API to Azul Metadata API (#1010) 2026-07-08 10:00:43 +01:00
zulu-windows.json dist: Migrate from Zulu Discovery API to Azul Metadata API (#1010) 2026-07-08 10:00:43 +01:00