• Stephane Nicoll's avatar
    Handle `NoClassDefFoundError` in `OnBeanCondition` · 65b6d8f4
    Stephane Nicoll authored
    If `OnBeanCondition` is used with a `String` literal representing the
    fully qualified name of a bean and such type does not exist, it
    gracefully manages it as if it was not found. Prior to this commit, an
    exception would be thrown if any related class such as the parent
    class does not exist.
    
    This commit handles this additional case, catching `NoClassDefFoundError`
    the same way it did handle `ClassNotFoundException`. That way, a
    missing type will now be considered as absent if it's not on the
    classpath.
    
    Closes gh-7459
    65b6d8f4
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...
.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...