On Fri, 25 Sep 2026 19:01:38 GMT, Nir Lisker <[email protected]> wrote:

>> tests/manualTests/build.gradle line 17:
>> 
>>> 15: 
>>> 16: java {
>>> 17:     toolchain.languageVersion.set(JavaLanguageVersion.of(25))
>> 
>> This should probably be removed. We shouldn't need to configure a Java 
>> toolchain in a subproject.
>
> We shouldn't need to but we have to, otherwise we can't control the JDK 
> version - it will be whatever the daemon uses. I have a PR open that 
> configures the toolchain in the main build, then we will be able to 
> standardize the toolchain.

But that's already the case for the main build, with the expectation that the 
daemon runs an appropriate JVM. Why do this in a subproject now?

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/2156#discussion_r4107906771

Reply via email to