Undo FutureAdapter's catching of Throwable in 4.1.x
Issue: SPR-13413 Issue: SPR-12887
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user