Spring Polish Conditional Statements

I found that redundant validations were affecting readability. Therefore, I refactored the code by removing the redundan...

Spring Spring Boot 3.2.0-M1-M3 error on bean name resolution, works on Spring Boot 3.1.4

Bug Report Summary:Medium sized application using spring-boot and spring-cloud-streams, running into consistency issues ...

Spring Optimize MessageSourceSupport

Comment From: pivotal-cla@kang-hl Please sign the Contributor License Agreement!Click here to manually synchronize the s...

Spring DefaultFetchSpec should not buffer results in temporary list buffers

Avoid fetching and buffering results in temporary List buffers.I stumbled across this while analyzing a problem with ora...

Spring 404 on endpoint at root context path

I'm switching my apps from spring mvc to use with spring boot. To do that, i've build small projects spring mvc and spr...

Spring Kotlin inner class nested configuration causes IndexOutOfBoundsException [SPR-17222]

Hugh Hamill opened SPR-17222 and commentedWith Reference to the following project which reproduces the issuehttps://gith...

Spring Add Annotation for bean overriding [SPR-17519]

huehnerlady opened SPR-17519 and commentedWe like the idea that with spring boot 2.1.0 the default value for the propert...

Spring If an @EntityListener class is annotated with @Component then it is instantiated twice

I am trying to take benefit of this: https://github.com/spring-projects/spring-framework/issues/20852, so I annotate my ...

Spring StackOverflowError when context is closed from a bean.

Affects: Spring Framework 5.3.8Having this configuration:@Configurationpublic class WindowConfiguration { @Bean Cl...

Spring Possible null @Autowired field depending on fields' order in @Configuration classes

Affects: 5.2.6.RELEASEIssue descriptionI ran into an issue with a rather large project today which I think raised a bug ...

Spring @Autowired can working in BeanPostProcessor

https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/beans/factory/annotation/Autowired....

Spring Add ability to ignore certain Qualifier Annotations using CustomAutowireConfigurer

Affects: 5.3.2Spring provides the CustomAutowireConfigurer that allows for registration of custom autowire qualifier ty...

Spring Autowiring Optional of missing type throws ClassNotFoundException

We have a project running Gradle 6.3/6.4 with OpenJdk 14-EA on Ubuntu 19.10.When starting with ./gradlew bootrunthis res...

Spring Cannot inject generic FactoryBean

Here is an example test case:import org.junit.Test;import org.springframework.beans.factory.FactoryBean;import org.sprin...

Spring @Primary not working for LocalContainerEntityManagerFactoryBean

Present in Spring 5.1.2.RELEASECreated 2 beans of type LocalContainerEntityManagerFactoryBean, annotated one with @Prima...

Spring @Scheduled method is started without transaction, if bean has circular dependency

I've found an interesting bug, that if the bean has reference to itself and some method marked with @Scheduled annotatio...

Spring Enhancement - Bean name duplication

enhancementA case:@Beanpublic SomeOne aBean() { return new SomeOne();}@Beanpublic AnotherOne aBean() { return ne...

Spring Application can't be closed gracefully with cron task registered

Affects: \<4.3.25.RELEASE>HelloI found a strange Spring behavior. If we implement SchedulingConfigurer interface l...

Spring Provide a plaintext/data ProtocolResolver by default

Provide a plaintext/data ProtocolResolver by default and register it in the default ResourceLoader.More and more applica...

Spring Allow capacity = 0 in ConcurrentLruCache again

Fix for ConcurrentLruCache initialised with capacity = 0, previous behaviour allowed capacity = 0 (current public constr...
上一页 下一页
.