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

Comparing jsr166/src/test/tck/ThreadPoolExecutorTest.java (file contents):
Revision 1.28 by jsr166, Wed Nov 18 16:13:11 2009 UTC vs.
Revision 1.29 by jsr166, Fri Nov 20 16:02:10 2009 UTC

# Line 1042 | Line 1042 | public class ThreadPoolExecutorTest exte
1042          ExecutorService e = new ThreadPoolExecutor(2, 2, LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10));
1043          try {
1044              ArrayList<Callable<String>> l = new ArrayList<Callable<String>>();
1045 <            l.add(new CheckedCallable<String>() {
1046 <                      public String realCall() throws InterruptedException {
1047 <                          latch.await();
1045 >            l.add(new Callable<String>() {
1046 >                      public String call() {
1047 >                          try {
1048 >                              latch.await();
1049 >                          } catch (InterruptedException ok) {}
1050                            return TEST_STRING;
1051                        }});
1052              l.add(null);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines