Fix Redis components for JDK deserialization
It turns out that `JdkSerializationRedisSerializer` by default is based on the default Java class loader which may lead into `ClassCastException` downstream after deserialization * Make all the `JdkSerializationRedisSerializer` usage (default) in Redis components based on the BeanFactory `ClassLoader` * Fix tests to call `setBeanClassLoader()` * Fix Mark Fisher's name in the `MultipartFileReader` :-) **Cherry-pick to 5.1.x, 5.0.x & 4.3.x after restoring diamonds**
This commit is contained in:
committed by
Gary Russell
parent
890cd1feb9
commit
f89e8aafa5
@@ -23,7 +23,8 @@ import org.springframework.web.multipart.MultipartFile;
|
||||
/**
|
||||
* Strategy for reading {@link MultipartFile} content.
|
||||
*
|
||||
* @author mark Fisher
|
||||
* @author Mark Fisher
|
||||
*
|
||||
* @since 2.0
|
||||
*/
|
||||
public interface MultipartFileReader<T> {
|
||||
|
||||
Reference in New Issue
Block a user