Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.0
-
None
Description
In FutureUtils the following code doesn't compile with java 9:
... = scheduledExecutor.schedule( () -> retryOperationWithDelay(resultFuture, operation, retries - 1, retryDelay, ..., ..., ...);
The reason is that the compiler cannot determine whether the lambda should be a Runnable or a Callable<V>, resulting in incompatible bounds for the return type.
Attachments
Issue Links
- links to