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] [Closed] (FELIX-4713) Error in ProvidedServiceHandler.checkProvidedService : only the first service is checked
Date Tue, 02 Dec 2014 18:07:13 GMT

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

Clement Escoffier closed FELIX-4713.
------------------------------------
    Resolution: Fixed

This time is should be fixed.

> 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
>             Fix For: ipojo-runtime-1.12.1
>
>
> 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