-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Exception with Spring Framework 5.2 merged annotations mechanism #1170
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
Comments
@sdeleuze how does spring access the |
@cstancu It's usually via reflection, but there's an additional layer of indirection so that we can use the same API against different underlying data structures. The BiFunction<Method, Object, Object> valueExtractor; Most of the time, this will be a method reference to |
@philwebb the indirection that you mention above is not the problem. After some debugging I found that you are calling
To automate registering annotation interface methods for reflection you can write a However, now I hit #1135. I will work on that next. |
FYI #1135 is now fixed. |
Spring Fu native image builds are broken (with GraalVM RC14 and RC15 so it is not a regression unlike what I wrote in the original report). It seems it comes from the new merged annotation subsystem that was introduced as part of Spring Framework 5.2 M1 which SubstrateVM seems not supporting.
The error can be observed when running the native image of our basic
jafu-reactive-minimal
sample and generates this stack trace:To reproduce:
The text was updated successfully, but these errors were encountered: