Thanks for the explanation. I should also have said that it would be nice to see it added to the migration guide :) Would have saved me a bit of troubleshooting, maybe it will help someone else save some time.
On Wed, Sep 3, 2014 at 3:27 PM, Sergey Beryozkin <[email protected]> wrote: > Hi > > On 03/09/14 22:06, Matt Parker wrote: > >> Hi, >> >> I wanted to mention that the default delimiter appears to have changed in >> 3.x for the jaxrs.providers init-param. I upgraded from 2.x to 3.0.1, and >> needed to add a comma as the delimiter between providers, otherwise I >> would >> get an exception and the servlet wouldn't start. It appears that one may >> specify class.parameter.split.char to their liking, but this does not >> cover >> the default case. >> >> As far as I recall the ' ' delimiter was causing issues in cases where > individual providers had some of the properties injected, example, one can > say: > > MyProviderA(a=b a=2),MyProviderB(a=b a=2) > > I don't recall right now why I could not have > MyProviderA(a=b,a=2) MyProviderB(a=b,a=2) > > may be because some of the properties can be list properties... > There has to be a record in archives of why the decision was made to use a > ',' by default > > Cheers, Sergey > >> TIA, >> >> -Matt >> >> >
