commit | 5b913c9b4c90649d87cc75ccdcc5f06b408b3ffd | [log] [tgz] |
---|---|---|
author | Clement Escoffier <clement@apache.org> | Tue Dec 02 12:22:33 2014 +0000 |
committer | Clement Escoffier <clement@apache.org> | Tue Dec 02 12:22:33 2014 +0000 |
tree | fa435f3e4387c039af385754dcaa1059100279f7 | |
parent | 0a47c449d5f2708c3890d329edcf0ec40b1c2c6f [diff] |
Fix FELIX-4713 Applied proposed patch. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1642848 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/providedservice/ProvidedServiceHandler.java b/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/providedservice/ProvidedServiceHandler.java index c5f9fd6..93628eb 100644 --- a/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/providedservice/ProvidedServiceHandler.java +++ b/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/providedservice/ProvidedServiceHandler.java
@@ -312,7 +312,7 @@ throw new ConfigurationException("Service Providing: The specification field of the service specification " + svc.getServiceSpecifications()[i] + " needs to be a String"); } } catch (NoSuchFieldException e) { - return true; // No specification field + // Ignore it, keep and going. } catch (ClassNotFoundException e) { throw new ConfigurationException("Service Providing: The service specification " + svc.getServiceSpecifications()[i] + " cannot be loaded", e); } catch (IllegalArgumentException e) {