[Request] Add OpenJDK 27 GA support

Aberta Para iniciantes
#607 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
86/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
java, powershell
Domínio
cli, release

Direção de pesquisa

Comece com bucket/openjdk.json e os padrões existentes de manifestos do bucket Java; em seguida, revise .\bin\checkver.ps1 usando a página de lançamento do JDK 27. Adicione bucket/openjdk27.json para 27-35 e atualize o manifesto rolling, mantendo seu mecanismo de variável capturada/atualização automática. Verifique ambos os manifestos com checkver.ps1 e confirme que a instalação resolve o artefato GA do JDK 27.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
PowerShell
Estrelas
314
Forks
111
Métricas de merge de PRs
Nenhum PR com merge em 30d

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de ScoopInstaller/Java

Todas as issues de ScoopInstaller/Java

Issues semelhantes

Mais issues de CLI

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.