• 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
..
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-autoconfigure Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-properties-migrator 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...
pom.xml Loading commit data...