Tzu-Li (Gordon) Tai created FLINK-11740:
-------------------------------------------
Summary: Ill-defined CompositeTypeSerializerSnapshot class
signature
Key: FLINK-11740
URL: https://issues.apache.org/jira/browse/FLINK-11740
Project: Flink
Issue Type: Improvement
Components: Type Serialization System
Reporter: Tzu-Li (Gordon) Tai
Assignee: Tzu-Li (Gordon) Tai
Fix For: 1.8.0
The class signature of {{CompositeTypeSerializerSnapshot}} allows subclasses to
have raw types, while also requiring subclasses to erase types and re-cast when
providing the expected serializer class in constructors.
The signature should be changed to as follows:
{code}
public abstract class CompositeTypeSerializerSnapshot<T, S extends
TypeSerializer<T>> implements TypeSerializerSnapshot<T> { ... }
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)