[ 
https://issues.apache.org/jira/browse/GROOVY-11272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17804397#comment-17804397
 ] 

Eric Milles commented on GROOVY-11272:
--------------------------------------

Wow, amazing it made it this long without notice.  Do you think the generated 
value should be stable for a given source or if it should be 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)

Reply via email to