]
Ben Wang resolved JBCACHE-714.
------------------------------
Resolution: Done
PojoCache Collection class has incorrect swapping of ClassProxy
---------------------------------------------------------------
Key: JBCACHE-714
URL:
http://jira.jboss.com/jira/browse/JBCACHE-714
Project: JBoss Cache
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: PojoCache
Reporter: Ben Wang
Assigned To: Ben Wang
Fix For: 2.0.0
Currently, if we have Person that has a languages as a List, then:
Person p = new Person();
list = new ArrayList();
list.add("English");
p.setLanguages(list);
cache.attach(id, p);
then list field will be replace by a ClassProxy and revert it back when detached
correctly.
But if it is:
Person p = new Person();
cache.attach(id, p);
list = new ArrayList();
list.add("English");
p.setLanguages(list);
Then it won't.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: