Closed
Description
The autowiring shortcut introduced in 6.2 (#28122) relies on potentially conflicting primary beans being known at injection time. Late-set primary markers in a BeanFactoryPostProcessor
need to get consistently detected and taken into account as well, allowing the shortcut algorithm to back out if any such primary-marked bean matches the injection type (overriding a bean name match for the field/parameter name).