• Phillip Webb's avatar
    Use servlet context that can access classloader · 4d37430b
    Phillip Webb authored
    Update `SpringBootServletInitializer` to use the `ServletContext` that
    was provided to the initial `onStartup` call rather than the
    one from the `ServletContextEvent`. This allows the `getClassLoader()`
    call to complete without throwing an `UnsupportedOperationException`.
    
    Fixes gh-21684
    4d37430b
Name
Last commit
Last update
.github Loading commit data...
buildSrc Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
gradle/wrapper Loading commit data...
idea Loading commit data...
spring-boot-project Loading commit data...
spring-boot-tests Loading commit data...
src Loading commit data...
.editorconfig Loading commit data...
.gitignore 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...
SUPPORT.adoc Loading commit data...
build.gradle Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...