[
https://issues.apache.org/jira/browse/GROOVY-11272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17804410#comment-17804410
]
Daniel Sun commented on GROOVY-11272:
-------------------------------------
I prefer the {{serialVersionUID}} stable for a given source to changing with
each compilation.
> Generate `serialVersionUID` for each closure
> --------------------------------------------
>
> Key: GROOVY-11272
> URL: https://issues.apache.org/jira/browse/GROOVY-11272
> Project: Groovy
> Issue Type: Improvement
> Reporter: Daniel Sun
> Priority: Major
> Fix For: 5.x
>
>
> Though {{Closure}} implements {{Serializable}}, but generated closures have
> not {{serialVersionUID}}, which may cause serialization issue, so it's better
> to generate {{serialVersionUID}} field for each closure.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)