Spring PropertyDescriptorUtils randomly fails to determine read/write method pairs with partially resolved generics and overloaded write methods

Overviewjdk21Spring 6.2.11In the following case, the setId(int id) method is inconsistent with the generic type String, ...

Spring Illegal reflection use against Hibernate Validator 9 on module path

With Version 9 Hibernate Validator introduced a module-info file hiding the internal-packages (https://github.com/hibern...

Spring Set Content-Length Header in EncoderHttpMessageWriter Only for GET Requests if Value is Greater than 0

When using Spring Cloud Gateway with custom request decorators that cache request bodies, the ‎EncoderHttpMessageWriter:...

Spring Add setExecutor to JdkClientHttpRequestFactory to allow safe customization of blocking adapter threads

Overview JdkClientHttpRequestFactory currently defaults to using SimpleAsyncTaskExecutor when the provided java.net.http...

Spring Expose scheduled fire time to @Scheduled methods for reliable distributed execution

📄 Context / Problem StatementIn distributed systems, it's common to run Spring Boot applications with multiple instances...

Spring Provide a way to enable transaction for test methods on super class

I'm refactoring tests of Spring Batch, trying to unify integration tests for JDBC and MongoDB repository, for example:ab...

Spring NPE when RestTemplate got HttpHeaders with null "value"

I'm migrating my Spring/Springboot application and found a strange behavior:This code worked on SpringBoot 3.2.5HttpHead...

Spring Avoid unnecessary list creation and processing in AbstractTestContextBootstrapper

While working on #31456, I noticed that AbstractTestContextBootstrapper often unnecessarily creates instances of ArrayLi...

Spring AbstractTestContextBootstrapper should resolve ContextLoader only once

While working on #31456, I noticed that AbstractTestContextBootstrapper unnecessarily resolves the ContextLoader twice w...

Spring Provide access to attempt count in RetryListener as well as callbacks for the initial attempt

I'm currently trying to migrate the two simple pieces of code which use spring-retry to the RetryTemplate provided by th...

Spring Shared EntityManager returned by AbstractEntityManagerFactoryBean cannot be advised by AspectJ interceptor

Worked in Spring 6, broken in Spring 7:The new shared EntityManager that is returned by AbstractEntityManagerFactoryBean...

Spring Enhancement: @UniqueBean on interface or unique-beans: Class[] in application.yml

We like having interfaces define a contract for beans, and we also like having things like auto-configuration.However, w...

Spring ProblemDetail instance field set from the current URL path, does not respect RFC

Using Spring Boot 3.5.7 so org.springframework:spring-webmvc:6.2.12, but probably affects latest version as well given t...

Spring Support consistent resource clean up on ClientHttpRequestFactory

See https://github.com/spring-projects/spring-framework/issues/29370 for contextBackground:We declaratively create Rest...

Spring Use == instead of instanceof for primitive array type checks

OverviewFor performance reasons, JDK libraries often use == instead of instanceof for primitive array type checks — for ...

Spring XML bean definition issues BeanCreationException when bean class type is set

hello,ActiveMQ update from 6.1.5 to 6.2.0 brings spring libraries version upgrade from 6.1.16 to 6.2.12.With ActiveMQ ve...

Spring Add support for package-private BeanRegistrar in Spring AOT generated code

Comment From: joshlongdemo. generate a new project with no changes to the build on the initializr. im using maven. also,...

Spring Document that annotations are ignored if attributes reference types not present in the classpath

OverviewAnnotation search algorithms in Spring Framework typically ignore annotations that cannot be loaded because anno...

Spring Target type in Converter interface should be @Nullable

org.springframework.core.convert.converter.Converter is in a @NullMarked package, so all types are @NonNull by default.A...

Spring Strong locking in ConcurrentReferenceHashMap#computeIfAbsent may cause context initialisation deadlock

OverviewThe change to ConcurrentReferenceHashMap in 12dd75815867def5c6d29be results in the mapping function now being co...

下一页
.