Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.4.1 (Evans SR1)
-
Fix Version/s: 1.5 M1 (Fowler), 1.4.2 (Evans SR2)
-
Component/s: None
-
Labels:None
-
Pull Request URL:
-
Sprint:54 - Fowler M1
Description
The Jackson2JsonRedisSerializer has an overridable `getJavaType(Class<?> class)` method, but it does not delegate to this method to determine the `javaType` used by the object mapper when deserializing.
The fix is simple. Instead of setting the private field `JavaType javaType` to the `Class<T> type` passed in from the constructor, it should be set to the type returned by `getJavaType(Class<?> class)`.