} catch (Throwable t) {
promise.fail(t);
}
} );
return promise;
<BUG>});
}</BUG>
public static <T> Task<T> blocking(final Callable<? extends T> callable, final Executor executor) {
return blocking("blocking: " + callable.getClass().getName(), callable, executor);
}

} catch (Throwable t) {
promise.fail(t);
}
} );
return promise;
});
blockingTask.getShallowTraceBuilder().setTaskType(TaskType.BLOCKING.getName());
return blockingTask;
}
public static <T> Task<T> blocking(final Callable<? extends T> callable, final Executor executor) {
return blocking("blocking: " + callable.getClass().getName(), callable, executor);
}
