# | Line 1348 | Line 1348 | public class CompletableFutureTest exten | |
---|---|---|
1348 | try { | |
1349 | g.join(); | |
1350 | shouldThrow(); | |
1351 | < | } catch (Exception ok) { |
1352 | < | } |
1351 | > | } catch (CompletionException success) {} |
1352 | checkCompletedWithWrappedCFException(g); | |
1353 | } | |
1354 | ||
# | Line 2115 | Line 2114 | public class CompletableFutureTest exten | |
2114 | try { | |
2115 | g.join(); | |
2116 | shouldThrow(); | |
2117 | < | } catch (Exception ok) { |
2119 | < | } |
2117 | > | } catch (CompletionException success) {} |
2118 | checkCompletedWithWrappedCFException(g); | |
2119 | } | |
2120 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |