Bruno Borges
27f2c62824
Verify JDK downloads with vendor checksums ( #1167 )
...
* Verify JDK downloads with vendor checksums
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
Copilot-Session: a800a031-600e-4d28-b23e-be309555d38d
* Handle missing vendor checksum values
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
Copilot-Session: a800a031-600e-4d28-b23e-be309555d38d
* Preserve checksum error during cleanup failure
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
Copilot-Session: a800a031-600e-4d28-b23e-be309555d38d
* Validate checksum metadata value types
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
Copilot-Session: a800a031-600e-4d28-b23e-be309555d38d
* Clarify checksum documentation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
Copilot-Session: a800a031-600e-4d28-b23e-be309555d38d
* Expand vendor checksum verification
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
Copilot-Session: a800a031-600e-4d28-b23e-be309555d38d
* Accept SHA-256 or SHA-512 for JetBrains checksum sibling
JetBrains publishes a single, generically-named ".checksum" sibling
whose digest algorithm isn't disclosed by the filename. Older JBR 11
builds (e.g. jbrsdk_nomod-11_0_16-*-b2043.64.tar.gz) publish a SHA-256
digest there, while newer builds publish SHA-512. The JetBrains
installer previously assumed SHA-512 unconditionally, so verification
failed with "Malformed sha512 checksum metadata ... expected a
128-character hexadecimal digest" for those older builds, breaking the
jetbrains 11 e2e job on macOS and Windows.
fetchChecksum now accepts a list of candidate algorithms and infers
the actual algorithm from the returned digest's length, preferring the
strongest match. The JetBrains installer passes ['sha512', 'sha256'];
all other callers are unaffected since they already pass a single,
vendor-disclosed algorithm.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
Copilot-Session: a800a031-600e-4d28-b23e-be309555d38d
* Use SapMachine archive checksum files
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
Copilot-Session: a800a031-600e-4d28-b23e-be309555d38d
---------
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
Copilot-Session: a800a031-600e-4d28-b23e-be309555d38d
2026-07-29 04:43:56 -04:00
John Jiang
2adeb10550
dist: Cover Tencent Kona JDK 25 ( #1108 )
...
- Update Tencent Kona documentation to list JDK 25 as supported
- Add Kona 25 to the e2e verification matrix (ubuntu, windows, macos)
- Extend Kona test fixture with real Kona 25.0.3 release entries
- Add unit tests covering Kona 25 selection across all platforms
Signed-off-by: John Jiang <johnsjiang@tencent.com >
Co-authored-by: Bruno Borges <brborges@microsoft.com >
2026-07-13 14:08:24 -04:00