Add missing reflection hint on Eclipse FileLocator

`PathMatchingResourcePatternResolver` is reflecting on
`org.eclipse.core.runtime.FileLocator` and invoking methods on it for
OSGi support. While this use case is highly unlikely in native images,
registering the reflection entry by itself should be enough.

Fixes gh-31271
This commit is contained in:
Brian Clozel
2023-09-19 16:06:43 +02:00
parent 7af9ce4f03
commit 103c6b8bda
3 changed files with 88 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
org.springframework.aot.hint.RuntimeHintsRegistrar=\
org.springframework.aot.hint.support.KotlinDetectorRuntimeHints,\
org.springframework.aot.hint.support.ObjectToObjectConverterRuntimeHints,\
org.springframework.aot.hint.support.PathMatchingResourcePatternResolverRuntimeHints,\
org.springframework.aot.hint.support.SpringFactoriesLoaderRuntimeHints,\
org.springframework.aot.hint.support.SpringPropertiesRuntimeHints