[
https://issues.apache.org/jira/browse/FLINK-19321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-19321:
-----------------------------------
Labels: pull-request-available (was: )
> CollectSinkFunction does not define serialVersionUID
> ----------------------------------------------------
>
> Key: FLINK-19321
> URL: https://issues.apache.org/jira/browse/FLINK-19321
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Runtime
> Affects Versions: 1.12.0, 1.11.2
> Reporter: Fabian Hueske
> Assignee: CloseRiver
> Priority: Major
> Labels: pull-request-available
>
> The {{org.apache.flink.streaming.api.operators.collect.CollectSinkFunction}}
> function does not define a {{serialVersionUID}}.
> Function objects are serialized using Java Serialization and should define a
> {{serialVersionUID.}}
>
> If no o serialVersionUID is defined, Java automatically generates IDs to
> check compatibility of objects during deserialization. However, the
> generation depends on the environment (JVM, class version, etc.) and can
> hence lead to {{[java.io|http://java.io/].InvalidClassException}} even if the
> classes are compatible.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)