ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck-jsr166e/CompletableFutureTest.java
(Generate patch)

Comparing jsr166/src/test/tck-jsr166e/CompletableFutureTest.java (file contents):
Revision 1.1 by jsr166, Sun Jul 14 19:55:05 2013 UTC vs.
Revision 1.2 by jsr166, Mon Jul 15 03:50:08 2013 UTC

# 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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines