upgrade to java 25.0.5.1+2 and pin the exact build in ci
What changed, and why it matters
This commit simply updates the version of Java used to build Sparrow Wallet from Eclipse Temurin 25.0.5+8 to 25.0.5.1+2, and pins that exact build in the CI configuration. It is a routine build-toolchain and documentation change. There is no indication in the commit itself that this fixes a security vulnerability.
No security action required. Treat as a normal build reproducibility/toolchain maintenance update. If concerned, verify the new Temurin release notes for any security fixes, but this commit does not claim to address any.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies four files: .github/workflows/package.yaml, .sdkmanrc, README.md, and docs/reproducible.md. It changes the referenced JDK version from 25.0.5+8 to 25.0.5.1+2 across CI, SDKMAN configuration, and documentation. The CI workflow now uses java-version: '25.0.5+100000002.0.LTS' to pin the exact Temurin build. No application source code, cryptographic logic, or network handling is changed.
Changed components
CI/CD build toolchain (.github/workflows/package.yaml)SDKMAN configuration (.sdkmanrc)Build documentation (README.md, docs/reproducible.md)Inspect captured patch +14 / −14
### .github/workflows/package.yaml
@@ -21,11 +21,11 @@ jobs:
- name: Clear Java tool-cache for reproducibility
shell: bash
run: rm -rf "$RUNNER_TOOL_CACHE"/Java_*
- - name: Set up JDK 25.0.5
+ - name: Set up JDK 25.0.5.1
uses: actions/setup-java@0f481fcb613427c0f801b606911222b5b6f3083a # v5.5.0
with:
distribution: 'temurin'
- java-version: '25.0.5'
+ java-version: '25.0.5+100000002.0.LTS'
- name: Show Build Versions
run: ./gradlew -v
- name: Build with Gradle
### .sdkmanrc
@@ -1,3 +1,3 @@
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
-java=25.0.5.0+8-tem
+java=25.0.5.1+2-tem
### README.md
@@ -17,7 +17,7 @@ or for those without SSH credentials:
`git clone --recursive https://github.com/sparrowwallet/sparrow.git`
In order to build, Sparrow requires Java 25 or higher to be installed.
-The release binaries are built with [Eclipse Temurin 25.0.5+8](https://github.com/adoptium/temurin25-binaries/releases/tag/jdk-25.0.5%2B8).
+The release binaries are built with [Eclipse Temurin 25.0.5.1+2](https://github.com/adoptium/temurin25-binaries/releases/tag/jdk-25.0.5.1%2B2).
If you are using [SDKMAN](https://sdkman.io/), you can use `sdk env install` to ensure you have the correct version.
Other packages may also be necessary to build depending on the platform. On Debian/Ubuntu systems:
### docs/reproducible.md
@@ -12,26 +12,26 @@ Work on resolving both of these issues is ongoing.
### Install Java
Because Sparrow bundles a Java runtime in the release binaries, it is essential to have the same version of Java installed when creating the release.
-For v1.6.6 to v1.9.1, this was Eclipse Temurin 18.0.1+10. For v2.0.0 to v2.3.1, this was Eclipse Temurin 22.0.2+9. For v2.4.0 to v2.5.5, this was Eclipse Temurin 25.0.2+10. For v2.5.6 and later, Eclipse Temurin 25.0.5+8 is used.
+For v1.6.6 to v1.9.1, this was Eclipse Temurin 18.0.1+10. For v2.0.0 to v2.3.1, this was Eclipse Temurin 22.0.2+9. For v2.4.0 to v2.5.5, this was Eclipse Temurin 25.0.2+10. For v2.5.6, this was Eclipse Temurin 25.0.5+8. For v2.5.7 and later, Eclipse Temurin 25.0.5.1+2 is used.
Note: Do not install Java using a system package manager (e.g. apt, dnf, rpm).
Linux packages replace the JDK's bundled `cacerts` file with a symlink to the system CA certificates, which differ from those in the release tarballs and will produce a non-reproducible build.
#### Java from Adoptium github repo
-It is available for all supported platforms from [Eclipse Temurin 25.0.5+8](https://github.com/adoptium/temurin25-binaries/releases/tag/jdk-25.0.5%2B8).
+It is available for all supported platforms from [Eclipse Temurin 25.0.5.1+2](https://github.com/adoptium/temurin25-binaries/releases/tag/jdk-25.0.5.1%2B2).
For reference, the downloads are as follows:
-- [Linux x64](https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.5%2B8/OpenJDK25U-jdk_x64_linux_hotspot_25.0.5_8.tar.gz)
-- [Linux aarch64](https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.5%2B8/OpenJDK25U-jdk_aarch64_linux_hotspot_25.0.5_8.tar.gz)
-- [MacOS x64](https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.5%2B8/OpenJDK25U-jdk_x64_mac_hotspot_25.0.5_8.tar.gz)
-- [MacOS aarch64](https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.5%2B8/OpenJDK25U-jdk_aarch64_mac_hotspot_25.0.5_8.tar.gz)
-- [Windows x64](https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.5%2B8/OpenJDK25U-jdk_x64_windows_hotspot_25.0.5_8.zip)
+- [Linux x64](https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.5.1%2B2/OpenJDK25U-jdk_x64_linux_hotspot_25.0.5.1_2.tar.gz)
+- [Linux aarch64](https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.5.1%2B2/OpenJDK25U-jdk_aarch64_linux_hotspot_25.0.5.1_2.tar.gz)
+- [MacOS x64](https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.5.1%2B2/OpenJDK25U-jdk_x64_mac_hotspot_25.0.5.1_2.tar.gz)
+- [MacOS aarch64](https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.5.1%2B2/OpenJDK25U-jdk_aarch64_mac_hotspot_25.0.5.1_2.tar.gz)
+- [Windows x64](https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25.0.5.1%2B2/OpenJDK25U-jdk_x64_windows_hotspot_25.0.5.1_2.zip)
On Linux, extract the tarball and set `JAVA_HOME` to use it for the build:
```shell
-tar -xzf OpenJDK25U-jdk_x64_linux_hotspot_25.0.5_8.tar.gz
-export JAVA_HOME=$PWD/jdk-25.0.5+8
+tar -xzf OpenJDK25U-jdk_x64_linux_hotspot_25.0.5.1_2.tar.gz
+export JAVA_HOME=$PWD/jdk-25.0.5.1+2
export PATH=$JAVA_HOME/bin:$PATH
```
@@ -41,7 +41,7 @@ An alternative option for all platforms is to use the [sdkman.io](https://sdkman
See the installation [instructions here](https://sdkman.io/install).
Once installed, run
```shell
-sdk install java 25.0.5.0+8-tem
+sdk install java 25.0.5.1+2-tem
```
### Other requirementsWhy this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.