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;
|
this.state = State.FAILURE;
|
||||||
throw ex;
|
throw ex;
|
||||||
}
|
}
|
||||||
catch (Throwable ex) {
|
|
||||||
ExecutionException execEx = new ExecutionException(ex);
|
|
||||||
this.result = execEx;
|
|
||||||
this.state = State.FAILURE;
|
|
||||||
throw execEx;
|
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
throw new IllegalStateException();
|
throw new IllegalStateException();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user