-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
Description
Describe the Issue
👋 Creating a project on start.spring.io, Boot 4.0.0-M3 with "Native" dependency: Compiling with native-image 25 works, no problem.
Adding this:
graalvmNative {
binaries {
main {
// complete-reflection-types is the one which breaks it
buildArgs.add('--future-defaults=all')
}
}
}
it breaks with a stacktrace, see attached stack.txt.
Here's the project: demo.zip
Using the latest version of GraalVM can resolve many issues.
- I tried with the latest version of GraalVM.
GraalVM Version
java version "25" 2025-09-16 LTS
Java(TM) SE Runtime Environment Oracle GraalVM 25+37.1 (build 25+37-LTS-jvmci-b01)
Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 25+37.1 (build 25+37-LTS-jvmci-b01, mixed mode, sharing)
Operating System and Version
Linux workstation 6.16.10-100.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Oct 2 18:19:14 UTC 2025 x86_64 GNU/Linux
Build Command
./gradlew nativeCompile
Expected Behavior
Should build
Actual Behavior
Fails, see above.
Steps to Reproduce
./gradlew nativeCompile
Additional Context
Reproducer: demo.zip