This is an automated email from the ASF dual-hosted git repository.

aljoscha pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 66769badef8ea47021b3b4390b6571867bd5f7a7
Author: Aljoscha Krettek <[email protected]>
AuthorDate: Fri Oct 19 18:49:19 2018 +0200

    [FLINK-7811] Add scala.Enumeration to ignore list for Scala SerialVersionUID
    
    It seems that the SerialVersionUID of this changed between 2.11 and
    2.12. We need to ignore it so that we can restore savepoints taken on a
    2.11 build with a 2.12 build.
---
 flink-core/src/main/java/org/apache/flink/util/InstantiationUtil.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/flink-core/src/main/java/org/apache/flink/util/InstantiationUtil.java 
b/flink-core/src/main/java/org/apache/flink/util/InstantiationUtil.java
index cb5a090..eab8f4c 100644
--- a/flink-core/src/main/java/org/apache/flink/util/InstantiationUtil.java
+++ b/flink-core/src/main/java/org/apache/flink/util/InstantiationUtil.java
@@ -170,6 +170,7 @@ public final class InstantiationUtil {
                scalaTypes.add("scala.Tuple2$mcDJ$sp");
                scalaTypes.add("scala.Tuple2$mcDI$sp");
                scalaTypes.add("scala.Tuple2$mcDD$sp");
+               scalaTypes.add("scala.Enumeration$ValueSet");
        }
 
        /**

Reply via email to