W dniu piątek, 25 sierpnia 2017 23:55:06 UTC+2 użytkownik Irko Krokodilko 
napisał:
>
> Hi,
>
> Are there amy plans to upgrade a version of guava library in JBehave ?
>
> We are trying to update Selenium/Webdriver to a latest version 3.5 in our 
> project, but we hit a problem with guava library.
> Selenium beginning from version 3.2 or 3.3 depends on guava version 21.0
> JBehave 4.1.1 currently depends on version 19.0 of guava and uses some of 
> it's features that were deprecated and actually are removed from guava.
>
> One example I've found is MoreExecutors.sameThreadExecutor(); 
>
> import java.util.concurrent.ExecutorService;
>
>
> import org.jbehave.core.embedder.EmbedderControls;
>
>
> import com.google.common.util.concurrent.MoreExecutors;
>
>
> /**
>  *  Creates instances of {@link MoreExecutors#sameThreadExecutor()}.
>  */
> public class SameThreadExecutors implements ExecutorServiceFactory {
>
>
>     public ExecutorService create(EmbedderControls controls) {
>         return MoreExecutors.sameThreadExecutor(); // <---- this function 
> was removed from guava in version 20.0.
>     }
>
>
> }
>
>
> *===== EDIT =============*
>

I've created a pull request for this issue: 
https://github.com/jbehave/jbehave-core/pull/148
JIRA link: https://jbehave.atlassian.net/browse/JBEHAVE-1239
 

-- 
You received this message because you are subscribed to the Google Groups 
"JBehave User" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/jbehave-user/77ce6045-3c45-496e-9d3b-736a247483b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to