felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clement Escoffier (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FELIX-4713) Error in ProvidedServiceHandler.checkProvidedService : only the first service is checked
Date Tue, 02 Dec 2014 12:17:12 GMT

     [ 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)

Mime
View raw message