[Native Image] GraalVM for JDK 24 ignores manifest entry Enable-Native-Access
#10008
Closed
1 task done
Labels
Describe the Issue
GraalVM for JDK 24 ignores manifest entry
Enable-Native-Access
when compiling to native image, resulting in warnings. According to JEP 472:I would expect
native-image
to detect this entry and not throw warnings.Using the latest version of GraalVM can resolve many issues.
GraalVM Version
native-image 24 2025-03-18
GraalVM Runtime Environment GraalVM CE 24-dev+21.1 (build 24+21-jvmci-b01)
Substrate VM GraalVM CE 24-dev+21.1 (build 24+21, serial gc)
8a88c44
Operating System and Version
Linux fedora 6.11.5-300.fc41.x86_64
Build Command
$JAVA_HOME/bin/native-image --initialize-at-build-time=. -jar target/reproducer-1.0-SNAPSHOT.jar
Expected Behavior
Native build should build without any warnings.
Actual Behavior
Native build prints warnings:
Steps to Reproduce
Additional Context
No response
Build Log Output and Error Messages
Build Log:
The text was updated successfully, but these errors were encountered: