[concurrency-interest] CompletableFuture.whenComplete survey

Tim Peierls tim at peierls.net
Fri Dec 18 10:57:02 EST 2015

I'm confused: whenComplete takes a BiConsumer, not a BiFunction, so it
can't return a value. I can't get the survey question code to compile.

On Wed, Dec 16, 2015 at 8:00 PM, Doug Lea <dl at cs.oswego.edu> wrote:

> Ever since Chris Purcell helpfully pointed out last summer that we
> should not drop nested exceptions in whenComplete, we've stalled
> incorporating changes. There are some good arguments for each of
> two options, that affects only a single line of code.
> (We've ruled out some other options.)
> Even though this is a corner case issue with low impact, we'd like
> to choose the best option we can. So please help us out by
> responding to this SurveyMonkey survey before Saturday
> morning (19 December).
>   https://www.surveymonkey.com/r/3D2L9DR
> Thanks!
> -Doug
> _______________________________________________
> Concurrency-interest mailing list
> Concurrency-interest at cs.oswego.edu
> http://cs.oswego.edu/mailman/listinfo/concurrency-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20151218/25319a89/attachment-0001.html>

More information about the Concurrency-interest mailing list