in spring-web, org.springframework.http.client.reactive.JdkHttpClientResourceFactory makes use of the jetty LifeCycle class.
It would be good to be able to use JdkHttpClientResourceFactory with no extra dependencies.
This is in v 6.0
Comment From: poutsma
@rstoyanchev was the usage of Jetty's LifeCycle type in JdkHttpClientResourceFactory intentional? I think it can be replaced with a check for ExecutorService in destroy(), and call ExecutorService::shutdown if so.
Comment From: rstoyanchev
No, it's most certainly an oversight.