Repository navigation
Add Microsoft OpenJDK 25.0.5.0.2 support - #1320
Merged
Merged
Conversation
Copilot
AI
changed the title
[WIP] Add support for Microsoft Build of OpenJDK 25.0.5.0.2
Add Microsoft OpenJDK 25.0.5.0.2 support
Nov 11, 2026
brunoborges
marked this pull request as ready for review
November 13, 2026 02:37
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Manifest lookup can install the wrong pinned build or dotted release, while E2E checks strip build suffixes and can miss build mismatches.
2 open issues
What changed in this PR
Extends setup-java to resolve Microsoft OpenJDK 25.0.5.0.2 when Microsoft’s live manifest omits it, addressing #1319.
Changes:
- Add archive metadata for x64 and aarch64 on Linux, macOS, and Windows.
- Add bundled metadata fallback while preserving live-manifest precedence and download verification.
- Expand regression and E2E coverage, document supported inputs, and regenerate setup bundles.
| File | Description |
|---|---|
src/distributions/microsoft/microsoft-openjdk-versions.json |
Add metadata for six platform/architecture combinations. |
src/distributions/microsoft/installer.ts |
Consult bundled metadata after a live-manifest miss. |
README.md |
Document fallback behavior and equivalent version inputs. |
dist/setup/index.js |
Load the regenerated Microsoft installer chunk. |
dist/setup/772.index.js |
Bundle the updated installer and version metadata. |
dist/setup/220.index.js |
Remove the superseded Microsoft installer chunk. |
.github/workflows/e2e-versions.yml |
Add release checks on Windows, Ubuntu, and macOS. |
__tests__/distributors/microsoft-installer.test.ts |
Cover version inputs, platforms, fallback, and live precedence. |
Review effort: Max
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
brunoborges
approved these changes
Nov 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Description:
Microsoft OpenJDK
25.0.5.0.2fails resolution when missing from the version manifest.25.0.5+0.2with x64 and aarch64 archives for Linux, macOS, and Windows.Related issue:
#1319
Check list:
npm run checklocally (format, lint, build, test) and all checks pass.