You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2010/03/22 17:11:28 UTC

[jira] Commented: (BEANUTILS-362) Add serialVersionUID to Serializable classes

    [ https://issues.apache.org/jira/browse/BEANUTILS-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848187#action_12848187 ] 

Paul Benedict commented on BEANUTILS-362:
-----------------------------------------

For compatibility with previously serialized classes, shouldn't the UIDs be the actual values already calculated by the JVM? I would run the tool against the 1.8.2 versions. Setting them to 1 now can break people.

> Add serialVersionUID to Serializable classes
> --------------------------------------------
>
>                 Key: BEANUTILS-362
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-362
>             Project: Commons BeanUtils
>          Issue Type: Bug
>            Reporter: Sebb
>            Assignee: Niall Pemberton
>             Fix For: 1.8.3
>
>         Attachments: beanutils-362.diff
>
>
> The following classes are Serializable, but don't have serialVersionUID defined:
> BasicDynaBean
> BasicDynaClass 
> DynaProperty 
> LazyDynaBean 
> LazyDynaList 
> Performance (and JVM interoperability) would be improved by adding the UIDs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.