• Andy Wilkinson's avatar
    Fix class loading problem with DevTools and Spring Session with Redis · e4342075
    Andy Wilkinson authored
    Previously, when a session attribute that had been stored in Redis was
    being deserialized, the app class loader would be used. This would
    result in a ClassCastException if the attribute was an instance of a
    class visible to the restart class loader.
    
    This commit auto-configures Spring Session’s RedisTemplate to use a
    custom deserializer that uses the restart class loader when
    deserializing session attributes.
    
    Closes gh-3805
    e4342075
Name
Last commit
Last update
.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-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml 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...