[jboss-jira] [JBoss JIRA] Resolved: (JBCACHE-660) Implement PojoCache Collection class that handles JDK50 generics
Ben Wang (JIRA)
jira-events at jboss.com
Fri Nov 3 01:31:41 EST 2006
[ http://jira.jboss.com/jira/browse/JBCACHE-660?page=all ]
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: 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