mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-24 07:39:09 +00:00
Prior to this commit, FileNativeConfigurationWriter did not write reachability-metadata.json when a RuntimeHints instance contained only lambda hints, because NativeConfigurationWriter.hasAnyHint() omitted ReflectionHints.lambdaHints() from its checks. As a result, lambda metadata emitted by RuntimeHintsWriter was silently dropped. This commit addresses that by including lambda hints in hasAnyHint() so the configuration file is written whenever lambda hints are present. Closes gh-36989 Signed-off-by: junhyeong9812 <pickjog@gmail.com>