• Andy Wilkinson's avatar
    Ignore Kotlin annotations when creating test context cache key · 64d32191
    Andy Wilkinson authored
    Every classes that's compiled by Kotlin is annotated with
    kotlin.Metadata. The attributes of this annotation always differ so
    if they are used in the cache key, context caching will effectively
    be disabled.
    
    This commit updates the key used by ImportsContextCustomizer to
    ignore the kotlin.Metadata annotation. Additionally, to align with
    with Java where annotations in java.lang.annotation are ignored,
    annotations in kotlin.annotation are also ignored.
    
    Closes gh-7101
    64d32191
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...