Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2adeb10

Browse filesBrowse files
dist: Cover Tencent Kona JDK 25 (#1108)
- Update Tencent Kona documentation to list JDK 25 as supported - Add Kona 25 to the e2e verification matrix (ubuntu, windows, macos) - Extend Kona test fixture with real Kona 25.0.3 release entries - Add unit tests covering Kona 25 selection across all platforms Signed-off-by: John Jiang <johnsjiang@tencent.com> Co-authored-by: Bruno Borges <brborges@microsoft.com>
1 parent 23f8c41 commit 2adeb10
Copy full SHA for 2adeb10

4 files changed

+85-3Lines changed: 85 additions & 3 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/e2e-versions.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/e2e-versions.yml
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,15 @@ jobs:
5555
- distribution: microsoft
5656
os: macos-latest
5757
version: 25
58+
- distribution: kona
59+
os: windows-latest
60+
version: 25
61+
- distribution: kona
62+
os: ubuntu-latest
63+
version: 25
64+
- distribution: kona
65+
os: macos-latest
66+
version: 25
5867
- distribution: oracle
5968
os: macos-15-intel
6069
version: 17
Collapse file

‎__tests__/data/kona.json‎

Copy file name to clipboardExpand all lines: __tests__/data/kona.json
+40Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,5 +158,45 @@
158158
}
159159
]
160160
}
161+
],
162+
"25": [
163+
{
164+
"version": "25.0.3",
165+
"jdkVersion": "25.0.3",
166+
"latest": true,
167+
"baseUrl": "https://github.com/Tencent/TencentKona-25/releases/download/TencentKona-25.0.3/",
168+
"files": [
169+
{
170+
"os": "linux",
171+
"arch": "aarch64",
172+
"filename": "TencentKona-25.0.3.b1-jdk_linux-aarch64.tar.gz",
173+
"checksum": "2fb77e3ba9c00045ca497ea22210f18dae4bf7df4c87029f5abadd42a5daf8c7"
174+
},
175+
{
176+
"os": "linux",
177+
"arch": "x86_64",
178+
"filename": "TencentKona-25.0.3.b1-jdk_linux-x86_64.tar.gz",
179+
"checksum": "47445e6fad020e834055a705bb48fa3cd0727a2c57ad6f1c5206a45f4efb2d67"
180+
},
181+
{
182+
"os": "macos",
183+
"arch": "aarch64",
184+
"filename": "TencentKona-25.0.3.b1_jdk_macosx-aarch64_notarized.tar.gz",
185+
"checksum": "e29405eff95da412ed7ecc890e6ef5ebbfcd9ab334005b3d32d1700bbe4204d2"
186+
},
187+
{
188+
"os": "macos",
189+
"arch": "x86_64",
190+
"filename": "TencentKona-25.0.3.b1_jdk_macosx-x86_64_notarized.tar.gz",
191+
"checksum": "d512db5c079db16bd3a9c86d9cb979808994e90e4de29e17d27e5219fe488659"
192+
},
193+
{
194+
"os": "windows",
195+
"arch": "x86_64",
196+
"filename": "TencentKona-25.0.3.b1_jdk_windows-x86_64_signed.zip",
197+
"checksum": "865bce92ccbbca75115076e618a98baa1d0f30fcccdce954c0a22bee33d6ae83"
198+
}
199+
]
200+
}
161201
]
162202
}
Collapse file

‎__tests__/distributors/kona-installer.test.ts‎

Copy file name to clipboardExpand all lines: __tests__/distributors/kona-installer.test.ts
+35-2Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ describe('Check getAvailableReleases', () => {
2828
['11', 'linux', 'x86_64', 'linux-x86_64'],
2929
['11.0.25', 'macos', 'aarch64', 'macosx-aarch64'],
3030
['17.0.13', 'windows', 'x86_64', 'windows-x86_64'],
31-
['21.0.5', 'linux', 'x86_64', 'linux-x86_64']
31+
['21.0.5', 'linux', 'x86_64', 'linux-x86_64'],
32+
['25', 'linux', 'aarch64', 'linux-aarch64'],
33+
['25.0.3', 'macos', 'x86_64', 'macosx-x86_64']
3234
])(
3335
'should get releases with the specified version "%s", OS "%s" and arch "%s"',
3436
async (
@@ -41,7 +43,7 @@ describe('Check getAvailableReleases', () => {
4143

4244
const releases = await distribution['getAvailableReleases']();
4345
expect(releases).not.toBeNull();
44-
expect(releases.length).toBe(4);
46+
expect(releases.length).toBe(5);
4547
releases.forEach(release =>
4648
expect(release.downloadUrl).toContain(expectedPattern)
4749
);
@@ -173,6 +175,37 @@ describe('Check findPackageForDownload', () => {
173175
'windows',
174176
'x86_64',
175177
'https://github.com/Tencent/TencentKona-21/releases/download/TencentKona-21.0.5/TencentKona-21.0.5.b1_jdk_windows-x86_64_signed.zip'
178+
],
179+
180+
[
181+
'25',
182+
'linux',
183+
'aarch64',
184+
'https://github.com/Tencent/TencentKona-25/releases/download/TencentKona-25.0.3/TencentKona-25.0.3.b1-jdk_linux-aarch64.tar.gz'
185+
],
186+
[
187+
'25.0.3',
188+
'linux',
189+
'x86_64',
190+
'https://github.com/Tencent/TencentKona-25/releases/download/TencentKona-25.0.3/TencentKona-25.0.3.b1-jdk_linux-x86_64.tar.gz'
191+
],
192+
[
193+
'25.0.3',
194+
'macos',
195+
'aarch64',
196+
'https://github.com/Tencent/TencentKona-25/releases/download/TencentKona-25.0.3/TencentKona-25.0.3.b1_jdk_macosx-aarch64_notarized.tar.gz'
197+
],
198+
[
199+
'25.0.3',
200+
'macos',
201+
'x86_64',
202+
'https://github.com/Tencent/TencentKona-25/releases/download/TencentKona-25.0.3/TencentKona-25.0.3.b1_jdk_macosx-x86_64_notarized.tar.gz'
203+
],
204+
[
205+
'25.0.3',
206+
'windows',
207+
'x86_64',
208+
'https://github.com/Tencent/TencentKona-25/releases/download/TencentKona-25.0.3/TencentKona-25.0.3.b1_jdk_windows-x86_64_signed.zip'
176209
]
177210
])(
178211
'should return the download URL with the specified version "%s", OS "%s" and arch "%s"',
Collapse file

‎docs/advanced-usage.md‎

Copy file name to clipboardExpand all lines: docs/advanced-usage.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ The available package types are:
238238
- `jre+ft` - JBR (FreeType)
239239

240240
### Tencent Kona
241-
**NOTE:** Tencent Kona supports major versions 8, 11, 17 and 21, and provides jdk only.
241+
**NOTE:** Tencent Kona supports major versions 8, 11, 17, 21 and 25, and provides jdk only.
242242

243243
```yaml
244244
steps:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.