G
YouTube TikTok Games
Skip to content

Add Microsoft OpenJDK 25.0.5.0.2 support - #1320

Merged
brunoborges merged 4 commits into
mainfrom
copilot/add-support-for-openjdk-25-0-5
Nov 14, 2026
Merged

brunoborges merged 4 commits into
mainfrom
copilot/add-support-for-openjdk-25-0-5

Conversation

Copilot AI commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Description:
Microsoft OpenJDK 25.0.5.0.2 fails resolution when missing from the version manifest.

  • Metadata: Add 25.0.5+0.2 with x64 and aarch64 archives for Linux, macOS, and Windows.
  • Resolution: Fall back to bundled metadata only when the live manifest has no match, preserving live-manifest precedence and download verification.
  • Coverage: Add regression tests for dotted and SemVer inputs, platform selection, and manifest precedence; extend E2E coverage, document behavior, and regenerate bundles.
with:
  distribution: microsoft
  java-version: '25.0.5.0.2'

Related issue:
#1319

Check list:

  • Ran npm run check locally (format, lint, build, test) and all checks pass.
  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

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
Copilot AI requested a review from brunoborges November 11, 2026 04:24
@brunoborges
brunoborges marked this pull request as ready for review November 13, 2026 02:37
@brunoborges
brunoborges requested a review from a team as a code owner November 13, 2026 02:37
Copilot AI max review requested due to automatic review settings November 13, 2026 02:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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

Comment thread .github/workflows/e2e-versions.yml Resolved
brunoborges and others added 2 commits November 13, 2026 23:20
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@brunoborges
brunoborges merged commit a1bf0b5 into main Nov 14, 2026
100 checks passed
@brunoborges
brunoborges deleted the copilot/add-support-for-openjdk-25-0-5 branch November 14, 2026 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for Microsoft Build of OpenJDK 25.0.5.0.2

3 participants