When using kotlin Collection then @Autowire Collection<SomeInterface> does not work correctly [SPR-15940] #20494
Labels
for: team-attention
An issue we'd like other members of the team to review
in: core
Issues in core modules (aop, beans, core, context, expression)
in: kotlin
An issue in or related to Kotlin support
Milestone
Mario Zagar opened SPR-15940 and commented
Using:
Following test fails when autowiring kotlin Collection
@Autowired
lateinit var beans : Collection.When using java.util.Collection autowiring works as expected.
Not really sure if this is kotlin issue or spring issue.
Here's the test:
Test output:
Affects: 5.0 RC3
1 votes, 3 watchers
The text was updated successfully, but these errors were encountered: