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.6 by jsr166, Mon Aug 3 22:08:07 2009 UTC vs.
Revision 1.7 by dl, Tue Aug 4 00:23:18 2009 UTC

# Line 416 | Line 416 | public class ForkJoinPoolTest extends JS
416              int r = f.get();
417              assertTrue(r ==  832040);
418          } finally {
419 <            joinPool(p);
419 >            p.shutdownNow(); // don't wait out shutdown
420          }
421      }
422  
# Line 642 | Line 642 | public class ForkJoinPoolTest extends JS
642              }});
643  
644          t.start();
645        Thread.sleep(SHORT_DELAY_MS);
645          t.interrupt();
646 <        joinPool(p);
646 >        p.shutdownNow();
647      }
648  
649      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines