You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix regression: restore binary javaLauncher convention for toolchain detection
The previous change removed the per-binary javaLauncher convention wiring (nativeImages.configureEach(options -> options.getJavaLauncher().convention(defaultJavaLauncher))), breaking graalvmNative.binaries.main.javaLauncher resolution and NativeImageOptionsTest ('toolchain defaults to the current Java version').
Restore the convention and resolve defaultJavaLauncher directly to the toolchain launcher when toolchain detection is enabled. Whether the toolchain actually contains native-image is decided at build time by NativeImageExecutableLocator, which falls back to GRAALVM_HOME — so the convention stays queryable while the explicit-vs-convention launcher feature is preserved.
0 commit comments