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

Comparing jsr166/src/test/tck/ReentrantReadWriteLockTest.java (file contents):
Revision 1.42 by jsr166, Thu Sep 16 00:52:49 2010 UTC vs.
Revision 1.43 by jsr166, Sat Oct 9 19:30:35 2010 UTC

# Line 409 | Line 409 | public class ReentrantReadWriteLockTest
409      }
410  
411      /**
412 <     *  Read lock succeeds if write locked by current thread even if
412 >     * Read lock succeeds if write locked by current thread even if
413       * other threads are waiting for writelock
414       */
415      public void testReadHoldingWriteLock3() throws InterruptedException {
# Line 442 | Line 442 | public class ReentrantReadWriteLockTest
442  
443  
444      /**
445 <     *  Write lock succeeds if write locked by current thread even if
445 >     * Write lock succeeds if write locked by current thread even if
446       * other threads are waiting for writelock
447       */
448      public void testWriteHoldingWriteLock4() throws InterruptedException {
# Line 715 | Line 715 | public class ReentrantReadWriteLockTest
715      }
716  
717      /**
718 <     *  read lockInterruptibly succeeds if lock free else is interruptible
718 >     * read lockInterruptibly succeeds if lock free else is interruptible
719       */
720      public void testReadLockInterruptibly() throws InterruptedException {
721          final ReentrantReadWriteLock lock = new ReentrantReadWriteLock();
# Line 771 | Line 771 | public class ReentrantReadWriteLockTest
771  
772  
773      /**
774 <     *  timed await without a signal times out
774 >     * timed await without a signal times out
775       */
776      public void testAwait_Timeout() throws InterruptedException {
777          final ReentrantReadWriteLock lock = new ReentrantReadWriteLock();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines