[jira] [Created] (FLINK-6921) EnumValueSerializer cannot properly handle appended enum values

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-6921) EnumValueSerializer cannot properly handle appended enum values

JIRA jira@apache.org
Till Rohrmann created FLINK-6921:
------------------------------------

             Summary: 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


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)