Skip to content

BeanDefinitionPropertyValueCodeGenerator#orderForConsistency expects values to be Comparable #31419

@snicoll

Description

@snicoll

As reported in #29074, the map generator expects any value to implement Comparable as it puts them in a TreeMap so that the generated code is reproductible.

Most values are basic but TypeStringValue does not implement Comparable. We could fix that but that's probably a workaround of the underlying problem.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)theme: aotAn issue related to Ahead-of-time processingtype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions