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

Comparing jsr166/src/test/tck/LockSupportTest.java (file contents):
Revision 1.20 by jsr166, Fri May 6 17:33:55 2011 UTC vs.
Revision 1.21 by jsr166, Fri May 6 17:59:36 2011 UTC

# Line 342 | Line 342 | public class LockSupportTest extends JSR
342      }
343  
344      /**
345 <     * parkUntil(0) returns immediately
345 >     * parkUntil(0) returns immediately.
346 >     *
347       * Requires hotspot fix for:
348       * 6763959 java.util.concurrent.locks.LockSupport.parkUntil(0) blocks forever
349 +     * which is in jdk7-b118 and 6u25.
350       */
351 <    public void XXXXtestParkUntil0Returns() throws InterruptedException {
351 >    public void testParkUntil0Returns() throws InterruptedException {
352          Thread t = newStartedThread(new CheckedRunnable() {
353              public void realRun() {
354                  LockSupport.parkUntil(0L);
355              }});
356  
357 <        awaitTermination(t, MEDIUM_DELAY_MS);
357 >        awaitTermination(t);
358      }
359   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines