• Andy Wilkinson's avatar
    Stop auto-config of MethodValidationPP triggering early init · 5938df52
    Andy Wilkinson authored
    Previously, if a user's configuration class provided a custom
    Validator bean, that configuration class would be initialized very
    early so that the Validator could be used to create the
    auto-configured MethodValidationPostProcessor. This early
    initialization could problems as it may prevent any of the
    configuration class's dependencies from being post-processed.
    
    This commit updates the injection of the Validator bean to be lazy,
    thereby preventing the creation of the auto-configured
    MethodValidationPostProcessor from triggering early initialization.
    
    Closes gh-9416
    5938df52
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...