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/28 11:12:00 UTC

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

     [ https://issues.apache.org/jira/browse/FLINK-11740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tzu-Li (Gordon) Tai closed FLINK-11740.
---------------------------------------
    Resolution: Fixed

Merged.

1.8.0: 19a32a1865ad257b8a14111f8f2787e865c8f34b
1.9.0: 0e99a230d6f4371023cde795aaff2ee6b12dcdac

> Ill-defined CompositeTypeSerializerSnapshot class signature
> -----------------------------------------------------------
>
>                 Key: FLINK-11740
>                 URL: https://issues.apache.org/jira/browse/FLINK-11740
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / Type Serialization System
>            Reporter: Tzu-Li (Gordon) Tai
>            Assignee: Tzu-Li (Gordon) Tai
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.8.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)