Undo FutureAdapter's catching of Throwable in 4.1.x

Issue: SPR-13413
Issue: SPR-12887
This commit is contained in:
Juergen Hoeller
2015-09-02 18:04:11 +02:00
parent cc741cdc51
commit 3402c13803

View File

@@ -107,12 +107,6 @@ public abstract class FutureAdapter<T, S> implements Future<T> {
this.state = State.FAILURE;
throw ex;
}
catch (Throwable ex) {
ExecutionException execEx = new ExecutionException(ex);
this.result = execEx;
this.state = State.FAILURE;
throw execEx;
}
default:
throw new IllegalStateException();
}