Open
Description
Description
java 23 has disappeared and has been replaced with java 24.
the build currently requires 23 exactly, which creates a hurdle for users, since it is difficult to get: does not exist in operating system package manager, must be dug out of a graveyard, etc.
yes, i know the problem of gradle here, but that doesn't excuse their behavior. they shouldnt be parsing classfiles of the jvm anyway.
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
dweiss commentedon Mar 20, 2025
This is terrible. I'll take a look.
rmuir commentedon Mar 20, 2025
I tried allowing 24 and gradle only failed in the usual way (incompatible classfile): we have to wait for them to issue a gradle release that "supports 24" so they can parse the classfiles of the jdk :(
dweiss commentedon Mar 20, 2025
gradle/gradle#32290
dweiss commentedon Mar 20, 2025
They do tons of weird stuff these days that require bytecode manipulation and touching everything upon loading. I don't think there is a way around other than wait for that issue to be solved. I'll keep an eye on it.
rmuir commentedon Mar 20, 2025
maybe this one will fix it long-term and this is the last time we have to go thru it? unfortunately it just went live in java 24 so it doesn't help us now: https://openjdk.org/jeps/484
dweiss commentedon Mar 20, 2025
Really nice indeed! Sadly, I think it'll take just about a million years before it propagates through all the layers until it can hit gradle (but I'd love to be proven wrong). ;)
ChrisHegarty commentedon Mar 26, 2025
Argh! sorry, I caused this issue by upgrading to JDK 23. Maybe that was a mistake, for this reason (a non-LTS can disappear before the tools catch up with the newly released major JDK).