Property binding to Map
that implements Iterable
no longer works
#34332
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: regression
A bug that is also a regression
Milestone
Overview
The initial PR (#907) implemented the following ordering in
AbstractNestablePropertyAccessor
, supported by tests:List
Map
Iterable
The version that was finally added in c20a2e4 implements the following ordering:
List
Iterable
(replacingSet
)Map
This causes any
Map
that implementsIterable
to fail binding in Spring 6.1+, where they functioned previously.It seems less likely that iterables will implement
Map
in a broken fashion, as opposed to the other way around.Related Issues
The text was updated successfully, but these errors were encountered: