Tim Peierls created JCLOUDS-1334:
------------------------------------

             Summary: 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
             Fix For: 2.1.0


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)

Reply via email to