spring-framework
spring-framework copied to clipboard
Spring Framework
**Affects:** 6.1.7-6.1.13 --- This might be a special case of #32970, except it's not fixed yet. We have both `aspectj-maven-plugin` and `@Aspect`. Demo code (short): - [double-aspect.tar.gz](https://github.com/user-attachments/files/17366817/double-aspect.tar.gz) - `mvn test`...
Hello, team Now I'm working with spring-jdbc library. And I wanted to write a query which using an array of strings as conditional parameters. For this task I was trying...
**Affects:** 5.3.6 (coming from Spring Boot 2.4.5) **Requirement**: Provide **GSON**-base `Encoder/Decoder` by analogy with `Jackson2JsonEncoder/Jackson2JsonDecoder` (in webflux world) and `GsonHttpMessageConverter` (in mvc world). **Issue found** (status closed): https://github.com/spring-projects/spring-boot/issues/9166 **Workaround found**:...
Spring Framework currently shades ASM for several features: 1. bytecode generation with cglib 2. reading class metadata from bytecode Our usage of ASM is not a problem these days and...
On certain errors we don't get traces/spans in log statements. This happens when using latest Spring Boot 3.3.4 with ObservationAutoConfiguration and the following dependencies ([example repo here](https://github.com/geoludbit/tracing-issue-spring-boot)): ``` org.springframework.boot spring-boot-starter-web...
When a hostname contains an underscore, it is valid in RFC 3986, but only part of a registry-based authority under RFC 2396. Due to the fact, that `URI` only supports...
The HTTP protocol supports, in some situation, the addition of ["trailer fields"](https://httpwg.org/specs/rfc9110.html#rfc.section.6.5) after the entity body. They're often used for supplying information about message integrity, metrics, or post-processing information. While...
Spring's WebClient allows specifying Basic Auth credentials quite simply: ```java webClient.get() .uri(someEndpoint) .headers(httpHeaders -> httpHeaders.setBasicAuth(someUserName, somePassword)) ... ``` However, there doesn't seem to be a way to configure the WebClient...
Kotlin support has grown organically both in Spring Framework and other Spring portfolio projects, the set of features required portfolio wide is now pretty stabilized but there is a lack...
I use micrometer in a Spring Boot application to measure the execution time of a method. Given the following (Kotlin) method: ``` class MyClass(...) { @Timed(value = "my_timer") @Transactional fun...