Affects: 6.x
Quarkus has support to define a LambdaCapturingTypeBuildItem, which makes lamda serialization available. Spring should have a similar functionality, e.g. in the hints to register a class just like for serialization or JNI.
Comment From: bclozel
This duplicates #29655 - this was closed as we didn't get any feedback on such use cases with Spring Framework. Spring's RuntimeHints
isn't meant to be a 1-to-1 port of GraalMV metadata.
Feel free to comment on that other issue with a concrete use case for a Spring application. Note that if the example doesn't involve Spring at all, we're likely to point you to using the JSON format or a custom Feature
for that.