|
|
|
@ -681,15 +681,8 @@ class ConstructorResolver { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
args.arguments[paramIndex] = convertedValue; |
|
|
|
|
if (mbd.isLenientConstructorResolution()) { |
|
|
|
|
args.rawArguments[paramIndex] = originalValue; |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
args.rawArguments[paramIndex] = |
|
|
|
|
((sourceValue instanceof TypedStringValue && !((TypedStringValue) sourceValue).hasTargetType()) ? |
|
|
|
|
convertedValue : originalValue); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
// No explicit match found: we're either supposed to autowire or
|
|
|
|
|
// have to fail creating an argument array for the given constructor.
|
|
|
|
|