geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <...@geronimo.apache.org>
Subject [jira] Closed: (GERONIMO-1171) GBeanInstance should load reference types from types classloader, not gbeans classloader
Date Mon, 14 Nov 2005 23:50:30 GMT
     [ http://issues.apache.org/jira/browse/GERONIMO-1171?page=all ]
     
David Jencks closed GERONIMO-1171:
----------------------------------

    Resolution: Fixed

Sending        modules/kernel/src/java/org/apache/geronimo/gbean/runtime/AbstractGBeanReference.java
Transmitting file data .
Committed revision 344271.

> GBeanInstance should load reference types from types classloader, not gbeans classloader
> ----------------------------------------------------------------------------------------
>
>          Key: GERONIMO-1171
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1171
>      Project: Geronimo
>         Type: Bug
>   Components: kernel
>     Versions: 1.0
>     Reporter: David Jencks
>     Assignee: David Jencks
>      Fix For: 1.0

>
> GBeanInstance loads reference types from the classloader of the configuration the gbean
is in.  If you have a confused classloader situation where the same class is available in
several parents, this can lead to the reference type being loaded in a different and incompatible
classloader than the gbean class itself.  Although this confused classloader situation is
undesirable, we can load the reference types from the classloader of the gbean class and avoid
it.  All reference types are available in the gbean class classloader, or we wouldn't be able
to load the gbean class.

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


Mime
View raw message