Use standard String comparison in ExtendedBeanInfo.PropertyDescriptorComparator #31866
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Affects: 5.3.20
The compare method of
ExtendedBeanInfo.PropertyDescriptorComparator
classFor some string encode of utf-8, the length of left is not equal to the length of leftBytes.
The for-loop should use the length of
leftBytes
.For example if the left is
"指标大类"
, the right is"指标名称"
. This method will return 0. Obviously it's wrong.The text was updated successfully, but these errors were encountered: