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

Comparing jsr166/src/test/tck/ForkJoinPoolTest.java (file contents):
Revision 1.9 by jsr166, Wed Aug 5 00:49:40 2009 UTC vs.
Revision 1.10 by jsr166, Sat Nov 21 10:25:05 2009 UTC

# Line 170 | Line 170 | public class ForkJoinPoolTest extends JS
170          try {
171              new ForkJoinPool(-1);
172              shouldThrow();
173 <        }
174 <        catch (IllegalArgumentException success) {}
173 >        } catch (IllegalArgumentException success) {}
174      }
175  
176      /**
# Line 181 | Line 180 | public class ForkJoinPoolTest extends JS
180          try {
181              new ForkJoinPool(1, null);
182              shouldThrow();
183 <        } catch (NullPointerException success) {
185 <        }
183 >        } catch (NullPointerException success) {}
184      }
185  
186  
# Line 606 | Line 604 | public class ForkJoinPoolTest extends JS
604              TrackedShortRunnable task = null;
605              Future<?> future = e.submit(task);
606              shouldThrow();
607 <        } catch (NullPointerException success) {
610 <        }
607 >        } catch (NullPointerException success) {}
608      }
609  
610  
# Line 620 | Line 617 | public class ForkJoinPoolTest extends JS
617              StringTask t = null;
618              Future<String> future = e.submit(t);
619              shouldThrow();
620 <        } catch (NullPointerException success) {
624 <        }
620 >        } catch (NullPointerException success) {}
621      }
622  
623  
# Line 665 | Line 661 | public class ForkJoinPoolTest extends JS
661                      return Boolean.TRUE;
662                  }}).get();
663              shouldThrow();
664 <        } catch (ExecutionException success) {
665 <        }
664 >        } catch (ExecutionException success) {}
665 >
666          joinPool(p);
667      }
668  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines