[
https://issues.apache.org/jira/browse/JCLOUDS-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17144476#comment-17144476
]
ASF subversion and git services commented on JCLOUDS-1334:
----------------------------------------------------------
Commit 62767a14610fc1c97c440dbd5ee0f02b276a1069 in jclouds's branch
refs/heads/master from Andrew Gaul
[ https://gitbox.apache.org/repos/asf?p=jclouds.git;h=62767a1 ]
JCLOUDS-1333: JCLOUDS-1334: JCLOUDS-1470: Require Java 8 and Guava 22
This allows compatibility with Guava 29. Also unwind some older
workarounds.
> Guava 23.0 incompatibility: missing SimpleTimeLimiter constructor
> -----------------------------------------------------------------
>
> Key: JCLOUDS-1334
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1334
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-core
> Reporter: Tim Peierls
> Assignee: Andrew Gaul
> Priority: Minor
> Labels: guava
> Fix For: 2.1.0
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> With Guava 23, the public constructor for SimpleTimeLimiter, which was
> deprecated in Guava 22.0, has been removed. This constructor is used by
> JClouds' ExecutorServiceModule and by some tests.
> Tests won't be compiled under Guava 23, so that's not a concern, but anyone
> running JClouds with Guava 23 will get a runtime error when
> ExecutorServiceModule is loaded.
> Easiest fix is to use reflection to call SimpleTimeLimiter.create (introduced
> in Guava 22.0) if possible, and fall back to the constructor otherwise.
> This was noticed after the resolution of JCLOUDS-1225, which brought
> compatibility to Guava 22.0.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)