You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (JIRA)" <ji...@apache.org> on 2014/12/02 13:17:12 UTC

[jira] [Assigned] (FELIX-4713) Error in ProvidedServiceHandler.checkProvidedService : only the first service is checked

     [ https://issues.apache.org/jira/browse/FELIX-4713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clement Escoffier reassigned FELIX-4713:
----------------------------------------

    Assignee: Clement Escoffier

> Error in ProvidedServiceHandler.checkProvidedService : only the first service is checked
> ----------------------------------------------------------------------------------------
>
>                 Key: FELIX-4713
>                 URL: https://issues.apache.org/jira/browse/FELIX-4713
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: ipojo-runtime-1.11.2
>            Reporter: German Vega
>            Assignee: Clement Escoffier
>            Priority: Minor
>
> Verification in the method checkProvidedService tries to get the field "specification" from the service interface, if the field doesn't exist it returns from the method and stop verifying the remaining interfaces in the list.
> Solution : change
> {quote}
>            \} catch (NoSuchFieldException e) \{
>                   return true; // No specification field
>             \}
> {quote}
> to
> {quote}
>           \} catch (NoSuchFieldException e) \{
>                   {color:red} continue; // No specification field{color}
>           \}
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)