felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Lenzi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-108) OBR should handle R3 bundles without symbolic name better
Date Mon, 27 Aug 2007 23:35:30 GMT

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

Stefano Lenzi commented on FELIX-108:

Do you think that using the following code:

if(getSymbolicName() == null)
return getVersion().hashCode();

return getSymbolicName().hashCode() ^ getVersion().hashCode();

instead of

return getSymbolicName().hashCode() ^ getVersion().hashCode();

is not enough?

> 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.

View raw message