openjdk: add openjdk26 and update openjdk-ea (#595)

This commit is contained in:
Wordless Echo 2026-04-29 22:28:56 +08:00 committed by GitHub
parent d027add65a
commit e26ce38748
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 38 additions and 5 deletions

View File

@ -1,21 +1,21 @@
{
"description": "Official Early-Access Builds of OpenJDK",
"homepage": "https://jdk.java.net/",
"version": "25.0.2-10",
"version": "27-19-ea",
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
"architecture": {
"64bit": {
"url": "https://download.java.net/java/GA/jdk25.0.2/b1e0dfa218384cb9959bdcb897162d4e/10/GPL/openjdk-25.0.2_windows-x64_bin.zip",
"hash": "74784a0c07258f32d36e9224dd79187c566d831c30d47dc06888d4212087331d"
"url": "https://download.java.net/java/early_access/jdk27/19/GPL/openjdk-27-ea+19_windows-x64_bin.zip",
"hash": "b2a6d883cbb261ccbc1f52e039ead30aa07359cc31cd35f3afe2101de05f06d1"
}
},
"extract_dir": "jdk-25.0.2",
"extract_dir": "jdk-27",
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://jdk.java.net/25",
"url": "https://jdk.java.net/27",
"re": "/(?<type>early_access|GA)/(?<path>jdk(?<major>[\\d.]+)(?:.*)?/(?<build>[\\d]+)(?:/GPL|/binaries)?)/(?<file>openjdk-(?<version>[\\d.]+)(?<ea>-ea)?(?:\\+[\\d]+)?_windows-x64_bin.(zip|tar.gz))",
"replace": "${version}-${build}${ea}"
},

33
bucket/openjdk26.json Normal file
View File

@ -0,0 +1,33 @@
{
"description": "Official General-Availability Release of OpenJDK",
"homepage": "https://jdk.java.net/",
"version": "26-35",
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
"architecture": {
"64bit": {
"url": "https://download.java.net/java/GA/jdk26/c3cc523845074aa0af4f5e1e1ed4151d/35/GPL/openjdk-26_windows-x64_bin.zip",
"hash": "2dd2d92c9374cd49a120fe9d916732840bf6bb9f0e0cc29794917a3c08b99c5f"
}
},
"extract_dir": "jdk-26",
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://jdk.java.net/archive/",
"re": "https://download\\.java\\.net/java/(?<type>GA)/(?<path>jdk(?<major>26(?:\\.[\\d]+)*)/[^/]+/(?<build>[\\d]+)(?:/GPL|/binaries)?)/(?<file>openjdk-(?<version>26(?:\\.[\\d]+)*)(?<ea>-ea)?(?:\\+[\\d]+)?_windows-x64_bin\\.(zip|tar.gz))",
"replace": "${version}-${build}${ea}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://download.java.net/java/$matchType/$matchPath/$matchFile"
}
},
"hash": {
"url": "$url.sha256"
},
"extract_dir": "jdk-$matchVersion"
}
}