You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Angelo van der Sijpt (JIRA)" <ji...@apache.org> on 2009/02/03 09:55:59 UTC
[jira] Created: (FELIX-915) PackageAdmin returns null on
getBundle(...) with system classes
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.
[jira] Commented: (FELIX-915) PackageAdmin returns null on
getBundle(...) with system classes
Posted by "Richard S. Hall (JIRA)" <ji...@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.
[jira] Resolved: (FELIX-915) PackageAdmin returns null on
getBundle(...) with system classes
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall resolved FELIX-915.
-----------------------------------
Resolution: Fixed
Fix Version/s: felix-1.6.0
Ok, I committed a fix and ran it against the TCK and we still pass all of the normal tests, so I am not sure why it was removed, but it is back now. Please see if it makes a difference for you. Thanks.
> 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
> Assignee: Richard S. Hall
> Priority: Minor
> Fix For: felix-1.6.0
>
>
> 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.
[jira] Closed: (FELIX-915) PackageAdmin returns null on
getBundle(...) with system classes
Posted by "Angelo van der Sijpt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Angelo van der Sijpt closed FELIX-915.
--------------------------------------
Working correctly now, thanks!
> 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
> Assignee: Richard S. Hall
> Priority: Minor
> Fix For: felix-1.6.0
>
>
> 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.
[jira] Assigned: (FELIX-915) PackageAdmin returns null on
getBundle(...) with system classes
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall reassigned FELIX-915:
-------------------------------------
Assignee: Richard S. Hall
> 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
> Assignee: Richard S. Hall
> 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.