what makes you think that this is "technically" a valid filter string?
regards, Karl On Tuesday, December 17, 2013, Raymond Auge wrote: > Hey All, > > Is it expected that passing a minimal filter string should fail when > fetching ServiceReferences? > > For instance: "()" is technically a valid filter string. > > But this fails: > > _bundleContext.getServiceReferences(clazz, "()") > > with > > org.osgi.framework.InvalidSyntaxException: Missing closing parenthesis: () > at org.apache.felix.framework.Felix.getServiceReferences(Felix.java:3453) > at > > org.apache.felix.framework.Felix.getAllowedServiceReferences(Felix.java:3531) > at > > org.apache.felix.framework.BundleContextImpl.getServiceReferences(BundleContextImpl.java:432) > > I mean it's not a big deal, just unexpected. > > -- > *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> > (@rotty3000) > Senior Software Architect > *Liferay, Inc.* <http://www.liferay.com> (@Liferay) > -- Karl Pauls [email protected] http://twitter.com/karlpauls http://www.linkedin.com/in/karlpauls https://profiles.google.com/karlpauls
