commit | 0afe643c13f5938d031c00033b40e57fa3446584 | [log] [tgz] |
---|---|---|
author | Clement Escoffier <clement@apache.org> | Sun Mar 22 13:45:31 2009 +0000 |
committer | Clement Escoffier <clement@apache.org> | Sun Mar 22 13:45:31 2009 +0000 |
tree | f7825aee5aa6264e348f9e579eb31677fb78a1a0 | |
parent | 7e4250d44ded06d883890c0ca8a80e6850cd1396 [diff] |
Fix issue 994. Give a correct list (containing ProvidedService objects) to the handler description. This will avoid the class cast exception. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@757188 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/composite/src/main/java/org/apache/felix/ipojo/composite/service/provides/ProvidedServiceHandler.java b/ipojo/composite/src/main/java/org/apache/felix/ipojo/composite/service/provides/ProvidedServiceHandler.java index 2c63301..2c82005 100644 --- a/ipojo/composite/src/main/java/org/apache/felix/ipojo/composite/service/provides/ProvidedServiceHandler.java +++ b/ipojo/composite/src/main/java/org/apache/felix/ipojo/composite/service/provides/ProvidedServiceHandler.java
@@ -169,7 +169,7 @@ } // Others case cannot happen. The test was already made during the factory initialization. } - m_description = new ProvidedServiceHandlerDescription(this, m_services, m_exporters); + m_description = new ProvidedServiceHandlerDescription(this, m_managedServices, m_exporters); }