-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Closed
Copy link
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: regressionA bug that is also a regressionA bug that is also a regression
Milestone
Description
Joakim Lindberg opened SPR-16137 and commented
When upgrading from org.springframework:spring-web:4.2.4.RELEASE our httpinterceptors stopped working because we used immutable list as input to InterceptingHttpAccessor.setInterceptors. That method now use AnnotationAwareOrderComparator.sort(interceptors) and in extent Collections.sort which is not side effect free.
InterceptingHttpAccessor.setInterceptors should use a copied list to sort on.
Affects: 5.0 GA, 5.0.1
Issue Links:
- Update RestTemplate to respect @Order for ClientHttpRequestInterceptor [SPR-13971] #18543 Update RestTemplate to respect
@Order
for ClientHttpRequestInterceptor
Referenced from: commits d06129d
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: regressionA bug that is also a regressionA bug that is also a regression