jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Gaul (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-1074) Compatibility with Guava 20
Date Thu, 04 Feb 2016 22:03:39 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15133132#comment-15133132
] 

Andrew Gaul commented on JCLOUDS-1074:
--------------------------------------

Unfortunately the replacement, {{TypeToken.isSupertypeOf}}, was introduced in Guava 19.  jclouds
currently supports Guava 16.0.1 and previous upgrades have proven contentious.

> Compatibility with Guava 20
> ---------------------------
>
>                 Key: JCLOUDS-1074
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1074
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-core
>    Affects Versions: 2.0.0
>            Reporter: Olivier Voortman
>              Labels: guava
>
> Hello,
> It seems jclouds is still using some deprecated methods from the Guava library, which
are now removed from version 20.0-SNAPSHOT.
> For example :
> java.lang.NoSuchMethodError: com.google.common.reflect.TypeToken.isAssignableFrom(Lcom/google/common/reflect/TypeToken;)Z
> Used here :
> org.jclouds.apis.Apis$1.apply(Apis.java:134)
> See removal of those methods from Guava here :
> https://github.com/google/guava/commit/f001be54c2e3676d39623942e96b97699d42467a
> This should be quite easy to fix.



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

Mime
View raw message