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] [Resolved] (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:all-tabpanel
]

Tzu-Li (Gordon) Tai resolved FLINK-6921.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.1

Fixed for master via e520023ac768ac739537f7aa563f13aa208949ff.
Fixed for 1.3.1 via 5d544b99b4aa18c0ff6fdcffdeb42a12ece533bb.

> 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