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

Comparing jsr166/src/test/tck/BlockingQueueTest.java (file contents):
Revision 1.4 by jsr166, Fri Oct 29 07:27:26 2010 UTC vs.
Revision 1.6 by dl, Fri May 6 11:22:07 2011 UTC

# Line 1 | Line 1
1   /*
2   * Written by Doug Lea and Martin Buchholz with assistance from members
3   * of JCP JSR-166 Expert Group and released to the public domain, as
4 < * explained at http://creativecommons.org/licenses/publicdomain
4 > * explained at http://creativecommons.org/publicdomain/zero/1.0/
5   *
6   * Other contributors include Andrew Wright, Jeffrey Hayes,
7   * Pat Fisher, Mike Judd.
# Line 90 | Line 90 | public abstract class BlockingQueueTest
90              }});
91  
92          threadStarted.await();
93 <        Thread.sleep(SHORT_DELAY_MS);
93 >        delay(SHORT_DELAY_MS);
94          assertTrue(t.isAlive());
95          t.interrupt();
96          awaitTermination(t, MEDIUM_DELAY_MS);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines