Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 52149 invoked from network); 11 Feb 2010 08:05:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Feb 2010 08:05:07 -0000 Received: (qmail 25182 invoked by uid 500); 11 Feb 2010 08:05:06 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 25108 invoked by uid 500); 11 Feb 2010 08:05:06 -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 25098 invoked by uid 99); 11 Feb 2010 08:05:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 08:05:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of heavy@ungoverned.org designates 67.222.39.38 as permitted sender) Received: from [67.222.39.38] (HELO outbound-mail-158.bluehost.com) (67.222.39.38) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 11 Feb 2010 08:04:56 +0000 Received: (qmail 4263 invoked by uid 0); 11 Feb 2010 08:04:36 -0000 Received: from unknown (HELO host118.hostmonster.com) (74.220.207.118) by outboundproxy5.bluehost.com with SMTP; 11 Feb 2010 08:04: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=Ri16pkSFdrfTRLrHXXLjoh0QPTsMRnm2puuTlO6hMxHrgMSHAxou0uZBat4E1Er7sqQ3W1M4YHKtEgnqAm5MQ7vD08XrXnb8UMMk9qIh/JNX4leqy6cfhH/+xKAZ14sp; Received: from email.kmseh.gov.tw ([59.120.114.154] helo=richard-s-halls-macbook.local) by host118.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NfU2N-0002V7-Hf for dev@felix.apache.org; Thu, 11 Feb 2010 01:04:36 -0700 Message-ID: <4B73BA0F.1060101@ungoverned.org> Date: Thu, 11 Feb 2010 03:04:31 -0500 From: "Richard S. Hall" User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: dev@felix.apache.org Subject: Re: [jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host References: <2009451570.1259927300726.JavaMail.jira@brutus> <1053940029.13801264191381456.JavaMail.jira@brutus.apache.org> <4B708EF7.6090206@ungoverned.org> <4B70B625.2050508@ungoverned.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {1027:host118.hostmonster.com:ungovern:ungoverned.org} {sentby:smtp auth 59.120.114.154 authed with heavy@ungoverned.org} p.s. Maybe you could create a new JIRA issue for it and attach the test case...thanks! On 2/9/10 3:17 PM, Guo Du wrote: > On Tue, Feb 9, 2010 at 1:11 AM, Richard S. Hall wrote: > >> Is this something you can zip up and give me a link to it? If the bundles in >> question are not too big, then you can email it to me privately as well. >> Please tell me the steps to reproduce. Thanks. >> > Hi Richard, > > I reproduce the problem with two simple bundles. Attachment is the test bundles. > > The test case export a package org.bug.api and import by itself. > > Fail silently When the host Bundle-SymbolicName=org.bug.api > Success When the host Bundle-SymbolicName=org.bug.apix > > It may caused the name used as key for maps. > > > ==================================================================== > FAILURE > ==================================================================== > -> install file:/tmp/fail/bug.bundle.fragment-0.0.1-SNAPSHOT.jar > Bundle ID: 3 > -> install file:/tmp/fail/bug.bundle.host-0.0.1-SNAPSHOT.jar > Bundle ID: 4 > -> start 4 > -> ps > [ 3] [Installed ] [ 1] Unnamed - > org.bug:bug.bundle.fragment:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT) > [ 4] [Active ] [ 1] Unnamed - > org.bug:bug.bundle.host:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT) > > > > > ==================================================================== > EXPECTED > ==================================================================== > -> install file:/tmp/success/bug.bundle.fragment-0.0.1-SNAPSHOT.jar > Bundle ID: 3 > -> install file:/tmp/success/bug.bundle.host-0.0.1-SNAPSHOT.jar > Bundle ID: 4 > -> start 4 > DEBUG: WIRE: 4.0 -> org.osgi.framework -> 0 > DEBUG: FRAGMENT WIRE: 3.0 -> hosted by -> 4.0 > -> ps > [ 3] [Resolved ] [ 1] Unnamed - > org.bug:bug.bundle.fragment:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT) > [ 4] [Active ] [ 1] Unnamed - > org.bug:bug.bundle.host:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT) > > > Thanks > > -Guo >