You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Stefano Lenzi (JIRA)" <ji...@apache.org> on 2007/09/18 19:40:43 UTC

[jira] Commented: (FELIX-108) OBR should handle R3 bundles without symbolic name better

    [ https://issues.apache.org/jira/browse/FELIX-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528463 ] 

Stefano Lenzi commented on FELIX-108:
-------------------------------------

OK! You're right, bad idea especially when you use the ResourceImpl.equals() methods.

BTW, we can use a fall back checking which check every entry in the Properties of the ResourceImpl during the equals() method and return the Properties.hashCode() when the SymbolicName is missing.

Finally, if we decide to be not compatible with OSGi version earlier than R4 we can close the issue and report the problem in the documentation of OBR and the main FAQ.

> OBR should handle R3 bundles without symbolic name better
> ---------------------------------------------------------
>
>                 Key: FELIX-108
>                 URL: https://issues.apache.org/jira/browse/FELIX-108
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>            Reporter: Richard S. Hall
>            Priority: Minor
>
> Currently, OBR assumes that all bundles have symbolic names, but R3 bundles do not, which can lead to null pointer exceptions. Modify OBR so that it handles bundles without symbolic names more cleanly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.