[
https://issues.apache.org/jira/browse/FLINK-7811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16659621#comment-16659621
]
ASF GitHub Bot commented on FLINK-7811:
---------------------------------------
StephanEwen commented on a change in pull request #6784: [FLINK-7811] Add
support for Scala 2.12
URL: https://github.com/apache/flink/pull/6784#discussion_r227086269
##########
File path:
flink-core/src/main/java/org/apache/flink/util/InstantiationUtil.java
##########
@@ -169,6 +169,7 @@ public ClassLoaderObjectInputStream(InputStream in,
ClassLoader classLoader) thr
scalaTypes.add("scala.Tuple2$mcDJ$sp");
scalaTypes.add("scala.Tuple2$mcDI$sp");
scalaTypes.add("scala.Tuple2$mcDD$sp");
+ scalaTypes.add("scala.Enumeration$ValueSet");
Review comment:
This seems like fixing one specific case that was discovered. There is
probably a ton of unsupported cases. I would suggest that we either:
- See why this is a problem in the first place (classes should not be
serialized into savepoints or should not be in the serializers any more).
- Do not support Scala version switches with savepoint compatibility (due
to scala)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Add support for Scala 2.12
> --------------------------
>
> Key: FLINK-7811
> URL: https://issues.apache.org/jira/browse/FLINK-7811
> Project: Flink
> Issue Type: Sub-task
> Components: Scala API
> Reporter: Aljoscha Krettek
> Assignee: Aljoscha Krettek
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.7.0
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)