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