You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Tzu-Li (Gordon) Tai (JIRA)" <ji...@apache.org> on 2019/02/25 08:58:00 UTC

[jira] [Created] (FLINK-11740) Ill-defined CompositeTypeSerializerSnapshot class signature

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)