Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C5D2A18825 for ; Wed, 22 Jul 2015 18:08:17 +0000 (UTC) Received: (qmail 30739 invoked by uid 500); 22 Jul 2015 18:08:04 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 30670 invoked by uid 500); 22 Jul 2015 18:08:04 -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 30658 invoked by uid 99); 22 Jul 2015 18:08:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2015 18:08:04 +0000 Date: Wed, 22 Jul 2015 18:08:04 +0000 (UTC) From: "Benson Margulies (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FELIX-4971) gogo runtime does not import what it exports MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Benson Margulies created FELIX-4971: --------------------------------------- Summary: gogo runtime does not import what it exports Key: FELIX-4971 URL: https://issues.apache.org/jira/browse/FELIX-4971 Project: Felix Issue Type: Bug Reporter: Benson Margulies I hope I have this story straight. The gogo runtime instructions quoted below do not import org.apache.felix.service.command. As a result, I cannot export that package from the system bundle and obtain a CommandProcessor reference from 'outside' the framework, as I get a class cast exception when the code outside tries to dereference the service reference. If this is the correct analysis, I will submit a PR to add the missing import. {code} org.apache.felix.service.threadio.ThreadIO, org.apache.felix.service.command.CommandProcessor org.apache.felix.service.command; org.apache.felix.service.threadio; version=${project.version}; status="provisional"; mandatory:="status", org.apache.felix.gogo.api; version=${project.version} org.osgi.service.event*; resolution:=optional, org.osgi.service.log*; resolution:=optional, org.osgi.service.packageadmin*; resolution:=optional, org.osgi.service.startlevel*; resolution:=optional, * org.apache.felix.gogo.runtime* ${pom.artifactId} The Apache Software Foundation org.apache.felix.gogo.runtime.activator.Activator {maven-resources},META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@))) <_removeheaders>Private-Package,Ignore-Package,Include-Resource {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)