num_received++;
if((responseReceived=(rsp_filter == null) || rsp_filter.isAcceptable(response_value, sender))) {
if(is_exception && response_value instanceof Throwable)
rsp.setException((Throwable)response_value);
else
<BUG>rsp.setValue((T)response_value);
}
rsp.setReceived(responseReceived);
}
if(responseReceived)
num_valid++;
done=responsesComplete() || (rsp_filter != null && !rsp_filter.needMoreResponses());</BUG>
if(responseReceived || done)

num_received++;
if((responseReceived=(rsp_filter == null) || rsp_filter.isAcceptable(response_value, sender))) {
if(is_exception && response_value instanceof Throwable)
rsp.setException((Throwable)response_value);
else
rsp.setValue((T)response_value);
rsp.setReceived(true);
num_valid++;
}
}
done=responsesComplete() || (rsp_filter != null && !rsp_filter.needMoreResponses());
if(responseReceived || done)
