Add missing reflection hints on Kotlin classes

This commit adds the relevant reflection hints required by
`KotlinDetector`; this class is trying to detect both `kotlin.Metadata`
and `kotlin.reflect.full.KClasses`.

Fixes gh- 31269
This commit is contained in:
Brian Clozel
2023-09-19 15:49:46 +02:00
parent a1f4cdf54e
commit 4c343ef796
3 changed files with 93 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
org.springframework.aot.hint.RuntimeHintsRegistrar=\
org.springframework.aot.hint.support.KotlinDetectorRuntimeHints,\
org.springframework.aot.hint.support.ObjectToObjectConverterRuntimeHints,\
org.springframework.aot.hint.support.SpringFactoriesLoaderRuntimeHints