Skip to content

Commit d782ae1

Browse files
committed
Update bundled Java runtime to 21.0.5+11
1 parent 0067685 commit d782ae1

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

changelog.xml

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
</properties>
1414
<body>
1515
<release version="18.5.0" date="upcoming">
16+
<action type="update">
17+
Update bundled Java runtime from 21.0.4+7 to 21.0.5+11. No separate beta Java runtime build is required anymore for Windows aarch64.
18+
</action>
1619
</release>
1720
<release version="18.4.0" date="2024-12-23">
1821
<action type="add" issue="valentjn/ltex-ls#268" due-to="Benoît Pasquier">

tools/createBinaryArchives.py

+1-7
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import os
2020
import stat
2121

22-
javaVersion = "21.0.4+7"
22+
javaVersion = "21.0.5+11"
2323

2424

2525

@@ -98,12 +98,6 @@ def downloadJava(tmpDirPath: pathlib.Path, ltexLsDirPath: pathlib.Path,
9898
f"jdk-{urllib.parse.quote_plus(javaVersion)}/{javaArchiveName}")
9999
relativeJavaDirPathString = f"jdk-{javaVersion}"
100100

101-
# See https://github.com/adoptium/adoptium-support/issues/616
102-
if platform == "windows" and arch == "aarch64":
103-
print("Temurin JDK for Windows on ARM is currently available as beta version only.")
104-
relativeJavaDirPathString = "jdk-21.0.5+9"
105-
javaUrl = "https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B9-ea-beta/OpenJDK21U-jdk_aarch64_windows_hotspot_21.0.5_9-ea.zip"
106-
107101
javaArchivePath = ltexLsDirPath.joinpath(javaArchiveName)
108102
print(f"Downloading JDK from '{javaUrl}' to '{javaArchivePath}'...")
109103
urllib.request.urlretrieve(javaUrl, javaArchivePath)

0 commit comments

Comments
 (0)