Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 81165 invoked from network); 17 Feb 2009 17:46:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Feb 2009 17:46:51 -0000 Received: (qmail 33898 invoked by uid 500); 17 Feb 2009 17:46:50 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 33767 invoked by uid 500); 17 Feb 2009 17:46:49 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 33592 invoked by uid 99); 17 Feb 2009 17:46:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2009 09:46:49 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of heavy@ungoverned.org designates 67.222.39.37 as permitted sender) Received: from [67.222.39.37] (HELO outbound-mail-157.bluehost.com) (67.222.39.37) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 17 Feb 2009 17:46:38 +0000 Received: (qmail 23754 invoked by uid 0); 17 Feb 2009 17:42:36 -0000 Received: from unknown (HELO host118.hostmonster.com) (74.220.207.118) by outboundproxy5.bluehost.com with SMTP; 17 Feb 2009 17:42:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=ungoverned.org; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=3eU0n0xh0dk5O5JjDAonTMOXpf8YwBU6YGHL+fWUOZ0zK/qsP0GkAqOkTVTmfV2WD+81YDlhXSDEILfAFjPM9zxZejEsUM46w6uK6NJeRYLbVbW+AkfmdZI8LGbuxNM8; Received: from c-24-9-139-135.hsd1.co.comcast.net ([24.9.139.135] helo=heavyweight.local) by host118.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LZU0A-0006eG-JZ for dev@felix.apache.org; Tue, 17 Feb 2009 10:44:58 -0700 Message-ID: <499AF799.4000007@ungoverned.org> Date: Tue, 17 Feb 2009 10:44:57 -0700 From: "Richard S. Hall" User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: dev@felix.apache.org Subject: Re: Fragment bundle support References: <499ABE18.3000404@BULL.NET> In-Reply-To: <499ABE18.3000404@BULL.NET> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Identified-User: {1027:host118.hostmonster.com:ungovern:ungoverned.org} {sentby:smtp auth 24.9.139.135 authed with heavy@ungoverned.org} X-Virus-Checked: Checked by ClamAV on apache.org Could you try on trunk or the latest released snapshot? There was a bug fixed recently, perhaps it is related: http://issues.apache.org/jira/browse/FELIX-852 -> richard Fran�ois Fornaciari wrote: > Hi, > > I know that the fragment bundle support is on going, but I would like > to submit a case that I have encountered. > > It seems that the installation order of a host bundle and its fragment > bundle modify the fragment support behaviour. > I have made some tests and if the fragment bundle is installed before > the host bundle, everything goes fine. The host bundle can load a > class from its fragment and the classloader used to load the class > corresponds to the classloader of the host bundle. This case works > also fine when getting a resource. > > If I invert the installation order, that means if the host bundle is > installed before the fragment bundle, the host bundle fails to get the > same resource from the fragment. The class loading seems to work but > if try to print the used classloader, the host bundle loads the class > using the classloader of the fragment host. > > Is this behaviour expected? > > Regards, > Fran�ois >