[infinispan-issues] [JBoss JIRA] Created: (ISPN-643) Deserialization of marshalled return values can happen from within JGroups thread context
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Mon Sep 13 06:31:12 EDT 2010
Deserialization of marshalled return values can happen from within JGroups thread context
-----------------------------------------------------------------------------------------
Key: ISPN-643
URL: https://jira.jboss.org/browse/ISPN-643
Project: Infinispan
Issue Type: Bug
Components: Marshalling
Affects Versions: 4.2.0.ALPHA1, 4.1.0.Final, 4.0.0.Final
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 4.2.0.BETA1
MarshalledValues representing return values can be deserialized from within JGroups thread leading to CNFEs.
The following deserializes the return value in the remote node from within the JGroups thread:
public void testReturnValueDeserialization() {
Cache cache1 = cache(0, "replSync");
Cache cache2 = cache(1, "replSync");
Pojo v1 = new Pojo(1);
cache1.put("1", v1);
Pojo previous = (Pojo) cache1.put("1", new Pojo(2));
assert previous.equals(v1);
}
Need to dig further to find out why.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list