mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Using `@ServiceConnection` results in the definition of one or more connection details beans. These bean definitions use an instance supplier which is not supported by AOT. This results in a failure during AOT processing. This commit introduces a BeanRegistrationExcludeFilter to exclude from AOT processing the beans created from a `@ServiceConnection`. They are not needed as the registrar will run again in the native image and define the beans at which point the use of an instance supplier is supported again. Fixes gh-35663 |
||
---|---|---|
.. | ||
src | ||
build.gradle |