[jboss-jira] [JBoss JIRA] Created: (JBCACHE-714) PojoCache Collection class has incorrect swapping of ClassProxy

Ben Wang (JIRA) jira-events at jboss.com
Wed Jul 26 10:30:11 EDT 2006


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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list