Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Chad Wilson opened SPR-11231 and commented
The change made for #15834 in bc5affa appears to have broken backward compatibility for primitive types where boxing/autoboxing was required between read and write methods.
Boolean.class is not "assignable" from boolean.class (and similar for other types) however this previously worked fine using BeanUtils.copyProperties, relying on auto boxing/unboxing.
Was this change intentional?
Could you consider using org.springframework.util.ClassUtils@isAssignable(lhsType, rhsType) to handle this without breaking backwards compatibility?
Affects: 3.2.6, 4.0 GA
Referenced from: commits 8a3b4c6, 0a4d28d
Backported to: 3.2.7
The text was updated successfully, but these errors were encountered:
Francesco Chicchiricco commented
Found same issue when trying to update Apache Syncope from Spring 3.2.5 to Spring 3.2.6 (took quite a while to understand, then found this issue via #15834).
I have opened SYNCOPE-462, which is blocked by this issue.
Sorry, something went wrong.
Juergen Hoeller commented
Good catch! Fixed for 4.0.1 and 3.2.7 now, both to be released in January.
Chad Wilson commented
Thanks Juergen, appreciated.
No branches or pull requests