]
Ben Wang resolved JBCACHE-660.
------------------------------
Resolution: Won't Fix
Implement PojoCache Collection class that handles JDK50 generics
----------------------------------------------------------------
Key: JBCACHE-660
URL:
http://jira.jboss.com/jira/browse/JBCACHE-660
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: PojoCache
Reporter: Ben Wang
Assigned To: Ben Wang
Priority: Minor
Fix For: PojoCache
Original Estimate: 2 weeks
Remaining Estimate: 2 weeks
Currently for PojoCache Collection classes, we have internal implementation that we
replace dynamically with the user one. This works for JDK1.4. However, in 5.0, if a user
uses generics, then this can be a problem. E.g., here is the code snippet:
List<Cube> list = new ArrayList();
list.add(cube1);
list.add(cube2);
Cube cube = list.get(0);
cache.attach(fqn, list);
List<Cube> list1 = (List<Cube>) cache.find(fqn); // OK but not typed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: