[
https://issues.apache.org/jira/browse/JCLOUDS-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Gaul updated JCLOUDS-1334:
---------------------------------
Labels: guava (was: )
> 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
> 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 message was sent by Atlassian JIRA
(v6.4.14#64029)