-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug
Milestone
Description
Sandu Turcan opened SPR-9285 and commented
createMap and createCollection do not propagate the original exception if they fail to create an instance.
These are the offending lines:
catch (Exception ex) {
throw new IllegalArgumentException("Could not instantiate Collection type: " + collectionType.getName());
}and
catch (Exception ex) {
throw new IllegalArgumentException("Could not instantiate Map type: " + mapType.getName());
}Affects: 3.1.1
Sub-tasks:
- Backport "CollectionFactory does not chain exceptions" [SPR-9871] #14504 Backport "CollectionFactory does not chain exceptions"
Issue Links:
- Allow MapToMap conversion even without a default constructor [SPR-9284] #13922 Allow MapToMap conversion even without a default constructor
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug