• Andy Wilkinson's avatar
    Prevent recursive config props from causing a stack overflow · 59bc3c56
    Andy Wilkinson authored
    Previously, when the configuration properties annotation processor
    encountered a property that was the same as an outer type that had
    already been processed, it would fail with a stack overflow error.
    
    This commit introduces the use of a stack to track the types that
    have been processed. Types that have been seen before are skipped,
    thereby preventing a failure from occurring. We do not fail upon
    encountering a recursive type to allow metadata generation to
    complete. At runtime, the recursive property will not cause a problem
    if it is not bound.
    
    Fixes gh-18365
    59bc3c56
Name
Last commit
Last update
.bomr Loading commit data...
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
spring-boot-project Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-samples-invoker Loading commit data...
spring-boot-tests Loading commit data...
src/checkstyle Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml 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...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...