mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
45939720f2
This commit makes sure that `@ExceptionHandler`-annotated methods can be invoked via reflection in a native image. As most of the handling of the parameter and the return type is shared with our generic RequestMapping handling, the ReflectiveProcessor extends from it. An `@ExceptionHandler`-annotated method can return a `ProblemDetail`. If that's the case, reflection entries are contributed. Closes gh-29297