Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 74098 invoked from network); 3 Feb 2009 15:32:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Feb 2009 15:32:26 -0000 Received: (qmail 95338 invoked by uid 500); 3 Feb 2009 15:32:21 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 95196 invoked by uid 500); 3 Feb 2009 15:32:20 -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 95182 invoked by uid 99); 3 Feb 2009 15:32:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2009 07:32:20 -0800 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; Tue, 03 Feb 2009 15:32:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C6FA8234C4B9 for ; Tue, 3 Feb 2009 07:31:59 -0800 (PST) Message-ID: <990177347.1233675119813.JavaMail.jira@brutus> Date: Tue, 3 Feb 2009 07:31:59 -0800 (PST) From: "Richard S. Hall (JIRA)" To: dev@felix.apache.org Subject: [jira] Commented: (FELIX-915) PackageAdmin returns null on getBundle(...) with system classes In-Reply-To: <665457242.1233651359534.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669991#action_12669991 ] Richard S. Hall commented on FELIX-915: --------------------------------------- Yes, for some reason the code doing this was removed between 1.2.2 and 1.4.0. I am not sure why, perhaps it was causing another issue. I will look into it. > PackageAdmin returns null on getBundle(...) with system classes > --------------------------------------------------------------- > > Key: FELIX-915 > URL: https://issues.apache.org/jira/browse/FELIX-915 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: felix-1.4.1 > Reporter: Angelo van der Sijpt > Priority: Minor > > When calling getBundle(clazz) on the PackageAdmin with a class from one of the system packages, the system bundle should be returned. In stead, PackageAdmin now returns null. > This applies not only to the 'standard' system classes (e.g., BundleContext or PackageAdmin), but also to packages in org.osgi.framework.system.packages.extra. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.