-
Notifications
You must be signed in to change notification settings - Fork 40.2k
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
Spring Boot 3 native-image: Kotlin Could not compute caller for function #33352
Comments
That's the full stacktrace:
|
When registering all the methods on class MyRuntimeHints: RuntimeHintsRegistrar {
override fun registerHints(hints: RuntimeHints, classLoader: ClassLoader?) {
ReflectionUtils.doWithMethods(Branch::class.java) { method ->
hints.reflection().registerMethod(method, ExecutableMode.INVOKE)
}
}
} it throws the same error as in #33351. It looks like we need more reflection metadata on types on which |
As it's |
Potentially it's very similar to
#33351
Reproducer:
The error will be like
The text was updated successfully, but these errors were encountered: