Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 93998 invoked from network); 12 Feb 2010 09:04:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Feb 2010 09:04:50 -0000 Received: (qmail 29363 invoked by uid 500); 12 Feb 2010 09:04:49 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 29299 invoked by uid 500); 12 Feb 2010 09:04: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 29289 invoked by uid 99); 12 Feb 2010 09:04:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 09:04:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 09:04:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7243529A0016 for ; Fri, 12 Feb 2010 01:04:28 -0800 (PST) Message-ID: <427187194.228711265965468466.JavaMail.jira@brutus.apache.org> Date: Fri, 12 Feb 2010 09:04:28 +0000 (UTC) From: "Richard S. Hall (JIRA)" To: dev@felix.apache.org Subject: [jira] Updated: (FELIX-2067) Fragment bundle ignored silently when the host Bundle-SymbolicName equals import package name In-Reply-To: <1828298347.215061265921187837.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-2067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard S. Hall updated FELIX-2067: ----------------------------------- Fix Version/s: (was: felix-3.0.0) felix-2.0.4 > Fragment bundle ignored silently when the host Bundle-SymbolicName equals import package name > --------------------------------------------------------------------------------------------- > > Key: FELIX-2067 > URL: https://issues.apache.org/jira/browse/FELIX-2067 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: felix-2.0.3 > Environment: ANY > Reporter: Guo Du > Assignee: Richard S. Hall > Fix For: felix-2.0.4 > > Attachments: testbundles.zip > > > 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) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.