Skip to content

CollectionFactory should be aware of MultiValueMap [SPR-9498] #14132

@spring-projects-issues

Description

@spring-projects-issues

Dave Syer opened SPR-9498 and commented

CollectionFactory is used internally in type conversion, and it makes a guess about the type of map to create if it is asked to create an instance of an interface. Spring's own MultiValueMap is not covered, so you can get a "map interface not supported" exception during bean creation (which so far I have only personally seen heavily masked by BeanCreationException or UnsatisfiedDependencyException, but I have seen a stack trace from a user that has the right message - see SECOAUTH-277).


Affects: 3.1.1

Reference URL: #94

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions