Native reflection hints missing for nested properties declared in a superclass #36406
Labels
theme: aot
An issue related to Ahead-of-time processing
theme: ssl
Issues related to ssl support
type: bug
A general bug
Milestone
Trying to configure the ssl bundle for the application which worked normally but failed when compiling to a graal native image.
The following is the sample configuration.
The values under
spring.ssl.bundle.jks.server.key
andspring.ssl.bundle.jks.server.options
are null in the native image.When checking the generated
reflect-config.json
it looks like this is because no hints were generated fororg.springframework.boot.autoconfigure.ssl.SslBundleProperties$Options
andorg.springframework.boot.autoconfigure.ssl.SslBundleProperties$Key
.I have created a simple reproducer at https://github.com/justin-tay/spring-boot-native-sslbundle-issue
The logs when run using
mvn spring-boot:run
isThe logs when run after compiling to a native image is
The text was updated successfully, but these errors were encountered: