commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict (JIRA)" <j...@apache.org>
Subject [jira] Commented: (BEANUTILS-362) Add serialVersionUID to Serializable classes
Date Mon, 22 Mar 2010 16:11:28 GMT

    [ 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.


Mime
View raw message