You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Gaul (JIRA)" <ji...@apache.org> on 2017/08/27 03:35:02 UTC
[jira] [Resolved] (JCLOUDS-1334) Guava 23.0 incompatibility:
missing SimpleTimeLimiter constructor
[ https://issues.apache.org/jira/browse/JCLOUDS-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Gaul resolved JCLOUDS-1334.
----------------------------------
Resolution: Fixed
Assignee: Andrew Gaul
> 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
(v6.4.14#64029)