Skip to content

build support: java 24 #14379

Open
Open
@rmuir

Description

@rmuir

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.

Activity

dweiss

dweiss commented on Mar 20, 2025

@dweiss
Contributor

build currently requires 23 exactly

This is terrible. I'll take a look.

rmuir

rmuir commented on Mar 20, 2025

@rmuir
MemberAuthor

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

dweiss commented on Mar 20, 2025

@dweiss
Contributor
dweiss

dweiss commented on Mar 20, 2025

@dweiss
Contributor

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.

self-assigned this
on Mar 20, 2025
added this to the 11.0.0 milestone on Mar 20, 2025
rmuir

rmuir commented on Mar 20, 2025

@rmuir
MemberAuthor

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

dweiss commented on Mar 20, 2025

@dweiss
Contributor

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

ChrisHegarty commented on Mar 26, 2025

@ChrisHegarty
Contributor

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

    Participants

    @dweiss@rmuir@ChrisHegarty

    Issue actions

      build support: java 24 · Issue #14379 · apache/lucene