• Andy Wilkinson's avatar
    Protect against stack overflow when searching meta annotations · 0a765e36
    Andy Wilkinson authored
    It is legal for an annotation to be annotated with itself. Previously,
    when searching for meta annotations this could lead to a stack overflow.
    This was likely to occur when using Kotlin as, like Java, its Target
    annotation is annotated with itself. A stack overflow doesn’t occur
    with Java’s Target annotation due to some short-circuiting logic for
    annotations in java.lang.
    
    This commit updates the logic for finding meta-annotations to
    short-circuit when an annotation that has already been seen is
    encountered.
    
    Closes gh-5902
    0a765e36
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...