Document default constructor as fallback for multiple non-@Autowired constructors #24838
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: documentation
A documentation task
Milestone
As mentioned by @ElmehdiBenh in #23263 (comment), our documentation currently fails to point out that a default constructor (if present) will be used as the fallback constructor for autowiring if multiple constructors are present and none of them is annotated with
@Autowired
.We should therefore make this clear in the documentation, both in the Javadoc for
@Autowired
and in the reference manual.The text was updated successfully, but these errors were encountered: