Github user rmetzger commented on a diff in the pull request:

    https://github.com/apache/incubator-flink/pull/236#discussion_r20934116
  
    --- Diff: 
flink-java/src/main/java/org/apache/flink/api/java/typeutils/runtime/PojoSerializer.java
 ---
    @@ -100,8 +110,50 @@ private void readObject(ObjectInputStream in)
                                                + " (" + fieldName + ")");
                        }
                }
    +
    +           subclassSerializerCache = new HashMap<Class<?>, 
TypeSerializer>();
    +   }
    +
    +   private TypeSerializer getSubclassSerializer(Class<?> subclass) {
    +           TypeSerializer<?> result = 
subclassSerializerCache.get(subclass);
    --- End diff --
    
    Are we sure that all the TypeSerializers are implementing hash() and 
equals() properly?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to