setup-java/src
Bruno Borges 8a3e8157a1
Map Zulu x86 architecture to i686 for Azul Metadata API (#1079)
The Azul Metadata API's `arch=x86` returns both 32-bit (i686) and 64-bit
(x64) packages. Because the two variants share identical java_version and
distro_version, setup-java cannot distinguish them and may resolve an
explicit `architecture: x86` request to a 64-bit JDK (and for Java 21+,
where 32-bit is dropped, x86 silently returns x64 instead of failing).

The legacy Zulu Discovery API used `arch=x86&hw_bitness=32` to target only
32-bit builds. The Metadata API exposes the equivalent via `arch=i686`,
which returns only genuine 32-bit builds with full version parity to the
old behavior. Map x86 -> i686 to restore correct 32-bit resolution.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-07-08 09:46:49 -04:00
..
distributions Map Zulu x86 architecture to i686 for Azul Metadata API (#1079) 2026-07-08 09:46:49 -04:00
auth.ts Migrate to ESM and upgrade dependencies (#1078) 2026-07-08 10:15:00 +01:00
cache.ts feat: add .mvn/extensions.xml to Maven cache key pattern (#1041) 2026-07-08 10:07:54 +01:00
cleanup-java.ts Migrate to ESM and upgrade dependencies (#1078) 2026-07-08 10:15:00 +01:00
constants.ts feat: Add set-default option (#1017) 2026-07-07 12:38:57 -04:00
gpg.ts Migrate to ESM and upgrade dependencies (#1078) 2026-07-08 10:15:00 +01:00
maven-args.ts Migrate to ESM and upgrade dependencies (#1078) 2026-07-08 10:15:00 +01:00
setup-java.ts Migrate to ESM and upgrade dependencies (#1078) 2026-07-08 10:15:00 +01:00
toolchains.ts Migrate to ESM and upgrade dependencies (#1078) 2026-07-08 10:15:00 +01:00
util.ts Migrate to ESM and upgrade dependencies (#1078) 2026-07-08 10:15:00 +01:00