[
https://issues.apache.org/jira/browse/FELIX-4713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Clement Escoffier reopened FELIX-4713:
--------------------------------------
Looks a bit more tricky than expected. There are some changes on how interfaces
are loaded on Java 8.
> 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)