You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Olivier Voortman (JIRA)" <ji...@apache.org> on 2016/06/23 13:48:16 UTC

[jira] [Created] (JCLOUDS-1131) jclouds-2.0.0 not compatible with gson-2.7

Olivier Voortman created JCLOUDS-1131:
-----------------------------------------

             Summary: jclouds-2.0.0 not compatible with gson-2.7
                 Key: JCLOUDS-1131
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1131
             Project: jclouds
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Olivier Voortman


It seems jclouds is using some of gson internal classes, which is wrong.

There is now an incompatibility in jclouds-core-2.0.0-SNAPSHOT.jar.
The class org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory is importing com.google.gson.internal.bind.ReflectiveTypeAdapterFactory which is clearly marked as internal.

There is now a 4th parameter on the constructor since gson-2.7.

Is it something that you can fix, maybe by cloning that ReflectiveTypeAdapterFactory inside your packages ?

Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)