Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade to Spring Boot 3.2.2, Kotlin 1.9.22
This upgrade includes some changes of the test codes which corresponds to significant changes that have been made in Spring Boot 3.2. mybatis project encountered the same issue, so its pr helped a lot making this upgrade done. The brief explanations are: 1. As of Spring Framework 6.1, we can't pass the value of `factoryBeanObjectType` as `String` to `BeanDefinition`. 2. `BeanFactory.getBean()` in `BeanFactoryExtensions` has been changed. Good thing is, the changes above don't seem to affact the implementations. All we need to do is to correct the test code. For the details, please check the references below. ## Reference * mybatis pr: mybatis/spring#865 * as-is 1: https://github.com/spring-projects/spring-framework/blob/66f4509c2c7a1ad0255ed84f9e5efb340bd0b470/spring-beans/src/main/java/org/springframework/beans/factory/support/FactoryBeanRegistrySupport.java#L74-L83 * to-be 1: https://github.com/spring-projects/spring-framework/blob/00577ed80acfc22104b41d6a631f433a3fa7e6af/spring-beans/src/main/java/org/springframework/beans/factory/support/FactoryBeanRegistrySupport.java#L74-L87 * as-is 2: https://github.com/spring-projects/spring-framework/blob/66f4509c2c7a1ad0255ed84f9e5efb340bd0b470/spring-beans/src/main/kotlin/org/springframework/beans/factory/BeanFactoryExtensions.kt#L28 * to-be 2: https://github.com/spring-projects/spring-framework/blob/00577ed80acfc22104b41d6a631f433a3fa7e6af/spring-beans/src/main/kotlin/org/springframework/beans/factory/BeanFactoryExtensions.kt#L29-L30
- Loading branch information