]
Mircea Markus updated ISPN-643:
-------------------------------
Fix Version/s: 4.2.0.ALPHA2
(was: 4.2.0.BETA1)
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.0.0.Final, 4.1.0.Final, 4.2.0.ALPHA1
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 4.2.0.ALPHA2, 4.2.0.Final
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: