[
https://issues.apache.org/jira/browse/FLINK-15162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16992483#comment-16992483
]
Stephan Ewen commented on FLINK-15162:
--------------------------------------
Not sure we can treat Java and Scala exactly the same. The closure cleaner
implementation re-engineers some compiler behavior, like how internal classes
are represented. That is totally language-specific.
Some consolidation of duplicated code might make sense, though.
> Merge Java and Scala ClosureCleaner
> -----------------------------------
>
> Key: FLINK-15162
> URL: https://issues.apache.org/jira/browse/FLINK-15162
> Project: Flink
> Issue Type: Improvement
> Components: API / DataStream
> Reporter: Timo Walther
> Priority: Major
>
> Currently, we maintain two separate closure cleaners for Java and Scala. This
> means that the same user-defined classes behave differently depending on the
> API. Since both use ASM, it should be possibly to merge both implementations
> for \{{flink-core}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)