-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JDK 21] Build and run Trino on JDK 21 #17017
Comments
With the
I was able to compile Trino with JDK 21 as a target. I'm gonna submit the PR to |
I've been able to compile and run Trino with mentioned changes on JDK 21:
Querying TPCH works just fine :) |
|
OMG, JDK21 is available 😱 |
@chenjian2664 it's not ;) Targeted for September but we want to be prepared to switch to it |
@wendigo So cool |
Related: #17044 |
Related: #17484 |
airlift/airbase#359 fixes maven plugins compatibility |
I've just verified that error-prone HEAD works fine with JDK 21 after google/error-prone#3918 |
error-prone HEAD-SNAPSHOT is working with jdk 21 |
Blocked by #18272 (it's a regression starting with JDK 20) |
Requires #18931 (dropping HDP2.6 images which are based on Centos6 shipped with old glibc. This prevents installing Temurin JDK 21 and other builds) |
Trino 432 now uses Java 21 in the Trino Docker image. |
The 0.14.0 release of the Trino Helm charts https://github.com/trinodb/charts now uses Trino 432 and therefore Java 21. |
The blog post https://trino.io/blog/2023/11/03/java-21 announces our plans to require Java 21 and asks for feedback and testing reports. |
Announced on Trino slack and linkedin |
Known problems:
extra-enforcer-rules
does not recognize JDK 21 with theenforceBytecodeVersion
rule (whenproject.build.targetJdk
is set to21
)maven-dependency-plugin
cannot read JDK 21 classesUnsupported class file major version 65
(old ASM is used)modernizer-maven-plugin
cannot read JDK 21 classesUnsupported class file major version 65
(old ASM is used)maven-shade-plugin
cannot shade JDK 21 classesguice
is shading outdated ASMAirlift
to use Virtual Threads forjetty-client
andjetty-server
The text was updated successfully, but these errors were encountered: