mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 04:09:04 +00:00
Beginning with Spring Framework 5.0, non-null checks for the requiredType in the following methods were inadvertently removed with the internal switch to ResolvableType.forRawClass(requiredType). - BeanFactory.getBean(Class<T>, Object...) - BeanFactory.getBeanProvider(Class<T>) - AutowireCapableBeanFactory.resolveNamedBean(Class<T>) This commit restores those non-null checks. Closes gh-23045