[
https://issues.apache.org/jira/browse/ARIES-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Ward resolved ARIES-665.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.4
I have added a unittest for this scenario, and am now adding the
SerialVersionUIDAdder adapter as the first layer of our weaving so that the
"default value" is explicitly set in the woven class file.
> Proxy weaving code must preserve SerialVersionUID
> -------------------------------------------------
>
> Key: ARIES-665
> URL: https://issues.apache.org/jira/browse/ARIES-665
> Project: Aries
> Issue Type: Bug
> Components: Proxy
> Reporter: David Jencks
> Assignee: Timothy Ward
> Fix For: 0.4
>
>
> The proxy weaving code changes the SerialVersionUID when it modifies the
> bytecode, so serialized classes that don't hardcode the SerialVersionUID are
> not compatible between plain and woven versions. I assume that having the
> weaver add the field if missing would fix this: manually adding it to classes
> seems to avoid the problem.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira