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

Comparing jsr166/src/test/tck/RecursiveTaskTest.java (file contents):
Revision 1.4 by jsr166, Sat Aug 1 22:09:13 2009 UTC vs.
Revision 1.5 by jsr166, Tue Aug 4 10:00:15 2009 UTC

# Line 307 | Line 307 | public class RecursiveTaskTest extends J
307                          Integer r = f.get();
308                          shouldThrow();
309                          return r;
310 <                    } catch (Exception success) {
310 >                    } catch (ExecutionException success) {
311 >                    } catch (Exception ex) {
312 >                        unexpectedException(ex);
313                      }
314                      return NoResult;
315                  }
# Line 327 | Line 329 | public class RecursiveTaskTest extends J
329                          Integer r = f.get(5L, TimeUnit.SECONDS);
330                          shouldThrow();
331                          return r;
332 <                    } catch (Exception success) {
332 >                    } catch (ExecutionException success) {
333 >                    } catch (Exception ex) {
334 >                        unexpectedException(ex);
335                      }
336                      return NoResult;
337                  }
# Line 449 | Line 453 | public class RecursiveTaskTest extends J
453                          Integer r = f.get();
454                          shouldThrow();
455                          return r;
456 <                    } catch (Exception success) {
456 >                    } catch (CancellationException success) {
457 >                    } catch (Exception ex) {
458 >                        unexpectedException(ex);
459                      }
460                      return NoResult;
461                  }
# Line 470 | Line 476 | public class RecursiveTaskTest extends J
476                          Integer r = f.get(5L, TimeUnit.SECONDS);
477                          shouldThrow();
478                          return r;
479 <                    } catch (Exception success) {
479 >                    } catch (CancellationException success) {
480 >                    } catch (Exception ex) {
481 >                        unexpectedException(ex);
482                      }
483                      return NoResult;
484                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines