Mandrel for JDK 21: native-image --enable-preview fails #658
Labels
affects/JDK21
affects/JDK22
affects/JDK23
Affects JDK 23 based Mandrel
affects/23.1
affects/24.0
bug
Something isn't working
Milestone
Description
The JDK 21 included in Graal 23 has support for
--enable-preview
, butnative-image
lacks the "preview modules" to use them.How To Reproduce
Steps to reproduce the behavior:
Configuration:
Expected behavior
I expect the program to be compiled into a native image and then behave as if the JVM ran it.
Additional context
A
svm-preview
directory seems to be lacking, but I'm not sure where it could come from.With
graalvm-community-openjdk-21.0.1+12.1
this works.The text was updated successfully, but these errors were encountered: