Skip to content

Improve BeanFactoryExtensionsTests #34696

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 7, 2025
Merged

Conversation

quaff
Copy link
Contributor

@quaff quaff commented Apr 1, 2025

Comparing to Java's BeanFactory.getBean(Class<T> requiredType), Kotlin's BeanFactory.getBean<T>() supports generic type as T, this commit add test to cover that and add assertions.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Apr 1, 2025
@rstoyanchev rstoyanchev added the in: core Issues in core modules (aop, beans, core, context, expression) label Jun 5, 2025
@jhoeller jhoeller added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jul 7, 2025
@jhoeller jhoeller self-assigned this Jul 7, 2025
@jhoeller jhoeller added this to the 7.0.0-M7 milestone Jul 7, 2025
Comparing to Java's `BeanFactory.getBean(Class<T> requiredType)`, Kotlin's `BeanFactory.getBean<T>()` supports generic type as `T`, this commit add test to cover that and add assertions.

Signed-off-by: Yanming Zhou <[email protected]>
@jhoeller jhoeller merged commit 4969f6b into spring-projects:main Jul 7, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants