[jboss-jira] [JBoss JIRA] Reopened: (JASSIST-42) Proxy serialization looses inner data objects
Andrew Dinn (JIRA)
jira-events at lists.jboss.org
Thu Apr 8 04:18:38 EDT 2010
[ https://jira.jboss.org/jira/browse/JASSIST-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Dinn reopened JASSIST-42:
--------------------------------
reopened to correct affects and fix versions
> Proxy serialization looses inner data objects
> ---------------------------------------------
>
> Key: JASSIST-42
> URL: https://jira.jboss.org/jira/browse/JASSIST-42
> Project: Javassist
> Issue Type: Bug
> Affects Versions: 3.11.0.GA
> Reporter: Damien Lecan
> Assignee: Andrew Dinn
> Priority: Blocker
> Fix For: 3.12.0.GA
>
>
> I working with proxies build with ProxyFactory method.
> When I want to serialize/deserialize it, everything seems to be ok except that only proxy instance is serialized, not inner objects.
> Eg.
> Object "A" contains an instance of "B"
> After serialization/deserialization of a proxy of A, instance of "B" in "A" is null
> When I look at this code :
> public static SerializedProxy makeSerializedProxy(Object proxy)
> throws java.io.InvalidClassException
> {
> Class clazz = proxy.getClass();
> return new SerializedProxy(clazz, ProxyFactory.getFilter(clazz),
> ProxyFactory.getHandler(clazz));
> }
> I don't understand how serialization can keep inner objects ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list