mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-22 09:09:01 +00:00
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