On Sat, 26 Sep 2026 12:38:40 GMT, Nir Lisker <[email protected]> wrote:
>> The runner fails precisely because the new subproject uses Gradle's Java >> toolchain feature. It requests JDK 25, but the runners don't have that; they >> only have JDK 26. `JAVA_TARGET_VERSION` is 25, and it is deliberately >> different from the JDK version. The toolchain specification should be >> removed, and the subproject should be run like all of the other projects. >> >> I also don't think that this adds technical debt. It's quite the opposite: >> bifurcating the build toolchain adds nothing of value. If we replace the >> legacy toolchain selection, it should be done wholesale for all projects at >> the same time. >> >> Alternatively, set it to 26 instead of 25 in the new project. > >> The runner fails precisely because the new subproject uses Gradle's Java >> toolchain feature. It requests JDK 25, but the runners don't have that; they >> only have JDK 26. `JAVA_TARGET_VERSION` is 25 > > It can't be the full reason because otherwise all runners would have failed > the same way. > > I did some debugging by changing the workflow file. The problem is as I > suspected, the runners are misconfigured. Linux and Mac have various JDK > installations on them, Windows has only one. Here is the info: > > ### Windows x64 > > >> Task :javaToolchains > > + Options > | Auto-detection: Enabled > | Auto-download: Enabled > > + Oracle JDK 26 (26.0.2+10-55) > | Location: C:\Users\runneradmin\bootjdk\jdk-26.0.2 > | Language Version: 26 > | Vendor: Oracle > | Architecture: amd64 > | Is JDK: true > | Detected by: Current JVM > > > ### macOS aarch64 > > >> Task :javaToolchains > > + Options > | Auto-detection: Enabled > | Auto-download: Enabled > > + Eclipse Temurin JDK 11 (11.0.32.1+1) > | Location: > /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.32-101/arm64/Contents/Home > | Language Version: 11 > | Vendor: Eclipse Temurin > | Architecture: aarch64 > | Is JDK: true > | Detected by: MacOS java_home > > + Eclipse Temurin JDK 17 (17.0.20.1+1) > | Location: > /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.20-101/arm64/Contents/Home > | Language Version: 17 > | Vendor: Eclipse Temurin > | Architecture: aarch64 > | Is JDK: true > | Detected by: MacOS java_home > > + Eclipse Temurin JDK 21 (21.0.12.1+1-LTS) > | Location: > /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.12-101.0/arm64/Contents/Home > | Language Version: 21 > | Vendor: Eclipse Temurin > | Architecture: aarch64 > | Is JDK: true > | Detected by: MacOS java_home > > + Eclipse Temurin JDK 25 (25.0.4.1+1-LTS) > | Location: > /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/25.0.4-101.0/arm64/Contents/Home > | Language Version: 25 > | Vendor: Eclipse Temurin > | Architecture: aarch64 > | Is JDK: true > | Detected by: MacOS java_home > > + Oracle JDK 26 (26.0.2+10-55) > | Location: /Users/runner/bootjdk/jdk-26.0.2.jdk/Contents/Home > | Lan... GHA is now green on all the platforms, thank you @nlisker and @mstr2 for helping with gradle build! ------------- PR Comment: https://git.openjdk.org/jfx/pull/2156#issuecomment-5874891354
