• Phillip Webb's avatar
    Fix Devtools PatternResolver Servlet support · 61c93194
    Phillip Webb authored
    Update ClassLoaderFilesResourcePatternResolver to support servlet
    resources when it's being used with a WebApplicationContext.
    
    Prior to commit 918e122d a `ResourceLoader` was not added to the
    `ApplicationContext`, meaning that servlet resources could be found by
    virtue of the protected `getResourceByPath()` method. Following commit
    918e122d, the context `ResourceLoader` is set, meaning that all calls
    to `getResource` delegate to the `ResourceLoader` and the
    `ApplicationContext` methods are not invoked. Since the devtools
    `ResourceLoader` wasn't Servlet aware, servlet resources could not
    be found.
    
    Fixes gh-7752
    61c93194
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...