Skip to content

Commit 50069ef

Browse files
dodiejhoeller
authored andcommitted
Update autowired-qualifiers.adoc
1 parent 777ff3f commit 50069ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

framework-docs/modules/ROOT/pages/core/beans/annotation-config/autowired-qualifiers.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ If there is no other resolution indicator (such as a qualifier or a primary mark
155155
for a non-unique dependency situation, Spring matches the injection point name
156156
(that is, the field name or parameter name) against the target bean names and chooses the
157157
same-named candidate, if any.
158+
159+
Since version 6.1, this requires the `-parameters` Java compiler flag to be present.
158160
====
159161

160162
That said, if you intend to express annotation-driven injection by name, do not

0 commit comments

Comments
 (0)