[Request] Add OpenJDK 27 GA support

Open Beginner friendly
#607 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
86/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
java, powershell
Domain
cli, release

Research direction

Start with bucket/openjdk.json and the existing Java bucket manifest patterns, then review .\bin\checkver.ps1 using the JDK 27 release page. Add bucket/openjdk27.json at 27-35 and update the rolling manifest while retaining its captured-variable/autoupdate mechanism. Verify both manifests with checkver.ps1 and confirm installation resolves to the JDK 27 GA artifact.

Written by the indexing model from the issue text.

Description

Current behavior

OpenJDK 27 is now GA, but the Java bucket does not yet provide an openjdk27 manifest and the rolling openjdk manifest still discovers JDK 26 through its current checkver configuration.

The existing openjdk manifest checks:

https://jdk.java.net/archive/

This causes a problem during the transition to a new GA release: JDK 27 is the current release and is available from https://jdk.java.net/27/, but it is not yet listed on the archive page.

For example, after updating the manifest data to JDK 27:

.\bin\checkver.ps1 openjdk27
openjdk27: couldn't match ... in https://jdk.java.net/archive/

.\bin\checkver.ps1 openjdk
openjdk: 26.0.2.1-1 (scoop version is 27-35) autoupdate available

So the archive-based check currently either fails for a version-specific JDK 27 manifest or detects JDK 26 for the rolling manifest.

Proposed change

Add OpenJDK 27 GA support by:

  • adding bucket/openjdk27.json at version 27-35;
  • updating the rolling bucket/openjdk.json to version 27-35;
  • using the current JDK 27 release page as the checkver source while JDK 27 is the current GA release;
  • retaining the existing captured-variable/autoupdate mechanism.

The Windows x64 GA artifact is:

https://download.java.net/java/GA/jdk27/55ce5470a6294008af0057ff4626d0e5/35/GPL/openjdk-27_windows-x64_bin.zip

SHA-256:

41172837168dd25a8d9fe5eb253ac1efc568c5f9ff608144bcacadfdf50f876c
Expected result

Users can install the current GA release with:

scoop install java/openjdk

or explicitly select JDK 27 with:

scoop install java/openjdk27

checkver.ps1 should also identify 27-35 rather than treating the latest archived JDK 26 release as an update.

Dominant language
PowerShell
Stars
314
Forks
111
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ScoopInstaller/Java

All issues in ScoopInstaller/Java

Similar issues

More CLI issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.