Skip to content

PropertySourcesPropertyResolver no longer converts to non CharSequence types #33727

@philwebb

Description

@philwebb

Commit b6fbbec has updated the PropertySourcesPropertyResolver to check that the targetValueType is a CharSequence or String. This update causes a regression where conversion to other types no longer happens.

See spring-projects/spring-boot#42720 for background and for a reproducer.

I think the targetValueType checks should be removed.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions