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

 

     }