You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <de...@geronimo.apache.org> on 2005/03/17 09:32:21 UTC

[jira] Closed: (GERONIMO-612) OpenORBStubClassLoader needs to track parent cl

     [ http://issues.apache.org/jira/browse/GERONIMO-612?page=history ]
     
David Jencks closed GERONIMO-612:
---------------------------------

     Resolution: Fixed
    Fix Version: 1.0-M4

fixed.  Openejb doesn't have revision numbers.  Could use review.  I think this class has a memory leak, perhaps we should use weak hashmaps.

> OpenORBStubClassLoader needs to track parent cl
> -----------------------------------------------
>
>          Key: GERONIMO-612
>          URL: http://issues.apache.org/jira/browse/GERONIMO-612
>      Project: Geronimo
>         Type: Bug
>   Components: OpenEJB
>     Versions: 1.0-M3
>     Reporter: David Jencks
>      Fix For: 1.0-M4

>
> OpenORBStubClassloader currently only tracks stub classloader by name of stub class.  If the interface is loaded by several different classloaders then each call will load the requested class with the same stub classloader, which is wrong for all but the first call.
> One solution is to track generated class jars by class name, and stub classloaders by parent classloader and class name.  This always returns the same stub class for a given class name and parent classloader  (assumed to be the TCCL).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira