You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Simon Cooper (JIRA)" <ji...@apache.org> on 2016/12/23 13:24:58 UTC
[jira] [Commented] (CURATOR-370) Remove use of
MoreExecutors.sameThreadExecutor and update guava version
[ https://issues.apache.org/jira/browse/CURATOR-370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15772892#comment-15772892 ]
Simon Cooper commented on CURATOR-370:
--------------------------------------
The version should be updated to 18.0 at least, as that is the first version to contain {{directExecutor}} replacement method
> Remove use of MoreExecutors.sameThreadExecutor and update guava version
> -----------------------------------------------------------------------
>
> Key: CURATOR-370
> URL: https://issues.apache.org/jira/browse/CURATOR-370
> Project: Apache Curator
> Issue Type: Improvement
> Affects Versions: 3.2.1, 2.11.1
> Reporter: Simon Cooper
> Assignee: Jordan Zimmerman
> Labels: dependencies
>
> {{ListenerContainer}} has a reference to {{MoreExecutors.sameThreadExecutor}} in guava. This method has been deprecated since guava version 18.0, and is being removed in version 21.0. This should be changed to use {{MoreExecutors.directExecutor}} instead.
> The use of this method means that all projects using Curator can't use a guava version past 20.0, as the method no longer exists in 21, so I would say this is quite high priority to fix, especially since 21.0 is the first Java 8 version of guava.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)