flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tzu-Li (Gordon) Tai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-6921) EnumValueSerializer cannot properly handle appended enum values
Date Tue, 20 Jun 2017 12:47:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-6921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16055697#comment-16055697
] 

Tzu-Li (Gordon) Tai commented on FLINK-6921:
--------------------------------------------

Thanks for the fix Till!

> EnumValueSerializer cannot properly handle appended enum values
> ---------------------------------------------------------------
>
>                 Key: FLINK-6921
>                 URL: https://issues.apache.org/jira/browse/FLINK-6921
>             Project: Flink
>          Issue Type: Bug
>          Components: Type Serialization System
>    Affects Versions: 1.3.1, 1.4.0
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>            Priority: Critical
>             Fix For: 1.3.1
>
>
> The {{EnumValueSerializer}} fails with an {{ArrayIndexOutOfBoundsException}} if we try
to ensure compatibility with an {{Enumeration}} which has added a field. The problem is that
we don't check the array bounds of the array containing the enum names in {{ScalaEnumSerializerConfigSnapshot}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message