Skip to content

Commit 3402c13

Browse files
committed
Undo FutureAdapter's catching of Throwable in 4.1.x
Issue: SPR-13413 Issue: SPR-12887
1 parent cc741cd commit 3402c13

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

spring-core/src/main/java/org/springframework/util/concurrent/FutureAdapter.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,6 @@ final T adaptInternal(S adapteeResult) throws ExecutionException {
107107
this.state = State.FAILURE;
108108
throw ex;
109109
}
110-
catch (Throwable ex) {
111-
ExecutionException execEx = new ExecutionException(ex);
112-
this.result = execEx;
113-
this.state = State.FAILURE;
114-
throw execEx;
115-
}
116110
default:
117111
throw new IllegalStateException();
118112
}

0 commit comments

Comments
 (0)