Do not ignore service filter. (FELIX-3150)


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1181041 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/BundleContextImpl.java b/framework/src/main/java/org/apache/felix/framework/BundleContextImpl.java
index 5e23c91..d7bbfa0 100644
--- a/framework/src/main/java/org/apache/felix/framework/BundleContextImpl.java
+++ b/framework/src/main/java/org/apache/felix/framework/BundleContextImpl.java
@@ -438,7 +438,7 @@
         throws InvalidSyntaxException
     {
         ServiceReference<S>[] refs =
-            (ServiceReference<S>[]) getServiceReferences(clazz.getName(), null);
+            (ServiceReference<S>[]) getServiceReferences(clazz.getName(), filter);
         return (refs == null)
             ? Collections.EMPTY_LIST
             : (Collection<ServiceReference<S>>) Arrays.asList(refs);