[Jersey] BUG? ClientConfig.getSingletons() does not take precedence over ClientConfig.getClasses()

From: Gili <>
Date: Sat, 2 Apr 2011 21:36:16 -0700 (PDT)


Why is it that:


gets picked up by JacksonProviderProxy.setProviders(), but

  ClientConfig.getSingletons().add(new ObjectMapperProvider());

does not? ObjectMapperProvider extends ContextResolver.

According to the Javadoc getSingletons() is supposed to take precedence over
getClasses(), but it looks like it is completely ignored. Is this a bug?


View this message in context:
Sent from the Jersey mailing list archive at