DaveAKing / guava-libraries

Automatically exported from code.google.com/p/guava-libraries
Apache License 2.0
0 stars 0 forks source link

Private helper copyResult(Future input, AbstractFuture output) #1446

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This might come in handy in a couple places. Possibly callers include some of 
our uses of getUninterruptibly and perhaps anywhere that we catch 
CancellationException.

The helper method could be paranoid and catch any RuntimeException (as opposed 
to ExecutionException) that occurs -- maybe even Error. It could make a 
decision once and for all to call cancel(true) rather than cancel(false).

Needs more research.

Original issue reported on code.google.com by cpov...@google.com on 12 Jun 2013 at 8:03

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<issue id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:12

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:17

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:08