setup-java/__tests__
Bruno Borges 12c069fb55 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>
2026-06-22 14:49:35 -04:00
..
cache feat: implement cache-dependency-path option to control caching dependency (#499) 2023-11-22 16:43:14 +01:00
data Preserve JDK build number from Azul Metadata API 2026-06-22 14:49:35 -04:00
distributors Add Zulu CRaC package support to metadata migration 2026-06-22 14:15:22 -04:00
auth.test.ts Add and configure ESLint and update configuration for Prettier (#458) 2023-03-09 14:49:35 +02:00
cache.test.ts Add Maven Wrapper cache feature (#1027) 2026-06-22 09:45:18 -05:00
cleanup-java.test.ts Spelling (#713) 2026-06-22 10:57:54 -04:00
gpg.test.ts Add and configure ESLint and update configuration for Prettier (#458) 2023-03-09 14:49:35 +02:00
toolchains.test.ts Fix XML namespaces wrongly using https 2023-06-28 11:24:07 +02:00
util.test.ts fix: reject non-semver candidate versions in isVersionSatisfies (#1009) 2026-06-17 22:47:02 -05:00
verify-java.sh Revert "Revert "Add support for Oracle JDK (#401)" (#421)" (#450) 2023-02-07 16:29:21 +01:00