You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/09/07 04:50:21 UTC

[jira] [Commented] (JCLOUDS-1074) Compatibility with Guava 20

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

ASF subversion and git services commented on JCLOUDS-1074:
----------------------------------------------------------

Commit 7cde28a4d2af3cde0adec62186b19116893b06f2 in jclouds's branch refs/heads/master from [~gaul]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=7cde28a ]

JCLOUDS-1074: Guava 20 compatibility

* dynamically call TypeToken.isSupertypeOf with Guava 19 and later and
  TypeToken.isAssignableFrom with Guava 18 and earlier
* consume or ignore values from methods with CheckReturnValue
* replace usage of removed Iterators.emptyIterator


> 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)