You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tolerate multiple calls to UndertowWebServer.destroy()
Undertow's DeploymentManagerImpl is not idempotent. Calling undeploy()
multiple times will result in an NPE. Similarly, calling start() or
stop() after undeploy() will also result in an NPE.
This commit protects against this by checking that the deployment
manager's state is not UNDEPLOYED before calling stop() and
undeploy().
Fixesgh-48446
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow/DeploymentManagerHttpHandlerFactory.java
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/undertow/UndertowServletWebServerFactoryTests.java
0 commit comments