spring-framework
spring-framework copied to clipboard
Spring Framework
**Affects:** 6.1.11 I am following https://docs.spring.io/spring-framework/reference/integration/rest-clients.html#rest-http-interface-exceptions and I'm trying to map exceptions from all 3 supported adapter clients to ones that do not have a dependency on concrete web stack...
Hi, attached is a testcase showing a testcontest that is wrongly reloaded when using ```@MockBean``` in conjunction with using ```@ContextHierarchy``` in single class mode. The testcase is in the attached...
Affected version: 6.1.11 The API I'm consuming requires the Content-Type header to be `application/octet-stream` for certain binary payloads. The Content-Type is set explicitly using `RequestBodySpec.contentType()` but it is later overwritten...
As discussed in https://github.com/spring-projects/spring-framework/issues/33315#issuecomment-2270161230 and subsequent comments in that issue, the language reference for the Spring Expression Language (SpEL) currently does not document support for varargs method, constructor, and function...
``` class org.springframework.expression.spel.standard.SpelCompilerTests$Bean3 cannot be cast to class org.springframework.expression.spel.standard.SpelCompilerTests$Bean2 (org.springframework.expression.spel.standard.SpelCompilerTests$Bean3 and org.springframework.expression.spel.standard.SpelCompilerTests$Bean2 are in unnamed module of loader 'app') java.lang.ClassCastException: class org.springframework.expression.spel.standard.SpelCompilerTests$Bean3 cannot be cast to class org.springframework.expression.spel.standard.SpelCompilerTests$Bean2 (org.springframework.expression.spel.standard.SpelCompilerTests$Bean3 and...
**Affects:** 6.1 While looking at the sample for #33180 I noticed several warning messages related to eager injection and bean post-processing: ``` 2024-07-10T09:55:40.473+01:00 WARN 593 --- [testSB3.3.1] [ main] trationDelegate$BeanPostProcessorChecker...
`org.springframework.test.context.ContextCustomizer` has been introduced to allow implementations to customize the context programmatically. Looking at implementations of the interface, it is primarily used in Spring Boot. The unique method states the...
[FormHttpMessageConverter](spring-web/src/main/java/org/springframework/http/converter/FormHttpMessageConverter.java) currently doesn't support reading multipart responses: it can only write requests. Unless I'm mistaken, this means that RestClient can't be used out-of-the-box to make http calls to services which...
Spring AOT is a mandatory step to build a native image for a Spring applications. While adding support for native images, our goal has always been to make this relevant...
In Spring Framework 6.2.x we introduced a hierarchy for `MockHttpServletRequestBuilder` and `MockMultipartHttpServletRequestBuilder` to add support for AssertJ. Unfortunately, this broke source and binary compatibility. This has been restored in #33229...