mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 08:24:13 +00:00
Previously, createMap() invoked createIndexedValue() – and therefore createObject() for non-simple value types – once per matching parameter name rather than once per distinct map key, causing redundant nested object construction for map entries whose value type has multiple constructor parameters. To address that, this commit aligns createMap() with createList() and createArray() by skipping construction for keys that have already been resolved. Closes gh-37019