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.48 by jsr166, Mon May 20 16:51:56 2013 UTC vs.
Revision 1.49 by jsr166, Wed Sep 25 07:39:17 2013 UTC

# Line 1375 | Line 1375 | public class ThreadPoolExecutorTest exte
1375          ExtendedTPE p = new ExtendedTPE();
1376          try {
1377              final CountDownLatch done = new CountDownLatch(1);
1378 <            final CheckedRunnable task = new CheckedRunnable() {
1378 >            p.execute(new CheckedRunnable() {
1379                  public void realRun() {
1380                      done.countDown();
1381 <                }};
1382 <            p.execute(task);
1381 >                }});
1382              await(p.afterCalled);
1383              assertEquals(0, done.getCount());
1384              assertTrue(p.afterCalled());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines