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

Comparing jsr166/src/test/tck/ThreadPoolExecutorSubclassTest.java (file contents):
Revision 1.31 by jsr166, Tue May 31 16:16:24 2011 UTC vs.
Revision 1.32 by jsr166, Wed Sep 25 07:39:17 2013 UTC

# Line 1248 | Line 1248 | public class ThreadPoolExecutorSubclassT
1248          CustomTPE p = new CustomTPE();
1249          try {
1250              final CountDownLatch done = new CountDownLatch(1);
1251 <            final CheckedRunnable task = new CheckedRunnable() {
1251 >            p.execute(new CheckedRunnable() {
1252                  public void realRun() {
1253                      done.countDown();
1254 <                }};
1255 <            p.execute(task);
1254 >                }});
1255              await(p.afterCalled);
1256              assertEquals(0, done.getCount());
1257              assertTrue(p.afterCalled());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines