SpringValidatorAdapter's ObjectError subclass is not Serializable #23181
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: regression
A bug that is also a regression
Milestone
Since 5.1.7.RELEASE
SerializationFailedException
happens when storingBindingResult.getAllErrors()
with Redis.In a1efe3c
SpringValidatorAdapter
was changed to use anonymous class forObjectError
.But such the implementation should be avoided because
ObjectError
implements Serializable.Affects: 5.1.7.RELEASE
SEI CERT Oracle Coding Standard for Java
The text was updated successfully, but these errors were encountered: