[weld-issues] [JBoss JIRA] Created: (WELD-804) On de-serialization, SerializationProxy should use the same classloader as the one used for creating the proxy
Marius Bogoevici (JIRA)
jira-events at lists.jboss.org
Tue Dec 21 10:40:17 EST 2010
On de-serialization, SerializationProxy should use the same classloader as the one used for creating the proxy
--------------------------------------------------------------------------------------------------------------
Key: WELD-804
URL: https://issues.jboss.org/browse/WELD-804
Project: Weld
Issue Type: Feature Request
Components: Proxies
Affects Versions: 1.1.0.CR2
Reporter: Marius Bogoevici
Assignee: Stuart Douglas
Priority: Critical
Fix For: 1.1.0.CR3
In 1.1.0.CR2, ProxyFactory may use the classloader of the proxied bean type on proxy class creation, although the recorded proxy supertype is java.lang.Object. On de-serialization, SerializableProxy will try to retrieve the classloader using only the supertype information (which in this case is java.lang.Object).
A better solution, proposed by Stuart and implemented here https://github.com/stuartwdouglas/core/tree/proxySerialization is to record the Bean id in the SerializableProxy and use that information for retrieving the classloader deterministically upon deserialization
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list