osiam / connector4java

Native Java API to connect to the REST based OSIAM services
MIT License
8 stars 17 forks source link

Restore compatibility with old Jackson versions #168

Closed tkrille closed 9 years ago

tkrille commented 9 years ago

Jackson 2.5 introduced new methods to TypeFactory that the connector is using to deserialize a SCIM search result. Not everybody has updated to Jackson >= 2.5, so incompatibilities have arisen. This commit restores the usage of the old, but deprecated method to construct a proper JavaType instance. It will call the new method anyway.

wallner commented 9 years ago

when are we going to drop the support for the old version?

tkrille commented 9 years ago

I don't know any statistics about the currently used Jackson versions. So, uhm, like forever or something? At least when Jackson removes the deprecated method, we will be forced to drop support for it :)

But seriously, I'm currently working on something that will allow us to use whatever Jackson version we like without summoning all kinds of strange dependency hell failures.

wallner commented 9 years ago

thank you.