Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 14834 invoked from network); 14 Nov 2005 23:50:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Nov 2005 23:50:58 -0000 Received: (qmail 84592 invoked by uid 500); 14 Nov 2005 23:50:54 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 84547 invoked by uid 500); 14 Nov 2005 23:50:54 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 84536 invoked by uid 99); 14 Nov 2005 23:50:54 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2005 15:50:51 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 559B7126 for ; Tue, 15 Nov 2005 00:50:30 +0100 (CET) Message-ID: <69473241.1132012230347.JavaMail.jira@ajax.apache.org> Date: Tue, 15 Nov 2005 00:50:30 +0100 (CET) From: "David Jencks (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Closed: (GERONIMO-1171) GBeanInstance should load reference types from types classloader, not gbeans classloader In-Reply-To: <2015211051.1132012108433.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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