You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3f7bf7d34f
Update `SpringBootContextLoader` so that when possible the `SpringApplication` remains in control of creating the `Environment` instance. Prior to this commit, we would always create the `Environment` in the `SpringBootContextLoader` and then call `setEnvironment` on the `SpringApplication`. This meant that the `ApplicationEnvironment` classes were not used and that `isCustomEnvironment` was set to `true` so no conversion was applied. With the updated code, an `ApplicationListener` is used to mutate the `Environment` instance and add the required test property sources. Fixes gh-29169 |
3 years ago | |
---|---|---|
.. | ||
spring-boot | 3 years ago | |
spring-boot-actuator | 3 years ago | |
spring-boot-actuator-autoconfigure | 3 years ago | |
spring-boot-autoconfigure | 3 years ago | |
spring-boot-cli | 3 years ago | |
spring-boot-dependencies | 3 years ago | |
spring-boot-devtools | 3 years ago | |
spring-boot-docs | 3 years ago | |
spring-boot-parent | 3 years ago | |
spring-boot-properties-migrator | 4 years ago | |
spring-boot-starters | 3 years ago | |
spring-boot-test | 3 years ago | |
spring-boot-test-autoconfigure | 3 years ago | |
spring-boot-tools | 3 years ago |