spring-framework
spring-framework copied to clipboard
Spring Framework
```yaml first: second: i,like,fish ``` the yaml config above can be processed when following code is executed ```java List values = environment.getProperty("key", (List) List.class) ``` however, following yaml config cannot...
When the same mock declaration (via `@MockitoBean`) is indirectly referenced through multiple meta-annotation paths on a test class, Spring's `BeanOverrideContextCustomizerFactory` reports a `Duplicate BeanOverrideHandler` exception. The framework treats the two...
## spring version: 6.2.10 two circular reference: ```java @Component @Order(1) public class TestA { @Autowired private TestB testB; private String name; // get and set public String hello () {...
Use List instead of MultiValueMap in HierarchicalUriComponents to record query params
During testing and setting up I noticed a wierd bug. Namely if a test class extends some base test class, which has a `@ContextHierarchy` annotation applied, then the subclass can...
The **RestClient** is great. However, its error handling design is currently limited to side effect style callbacks through `.onStatus(...)`, where the typical behavior is to throw exceptions. 😬 In many...
### Problem Array GET parameter using `[]` suffix is not work on Spring WebMVC . * using GET method * using ModelAttribute to resolve handler method argument * using `[]`...
## Summary Spring Web's `UriComponents` and `UriComponentsBuilder` have fundamental design issues that make them non-compliant with RFC 3986 and cause information loss. I'm willing to work on a PR to...
## Problem Statement It can be tedious to fix all of the deprecation warnings you get from using `json(jsonContent, strict = true)`. It's not as easy as a find-and-replace, because...