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.66 by jsr166, Fri Jun 3 05:07:14 2011 UTC vs.
Revision 1.68 by jsr166, Wed Dec 31 05:04:04 2014 UTC

# Line 85 | Line 85 | public class ReentrantReadWriteLockTest
85              Thread.yield();
86          }
87          assertTrue(t.isAlive());
88 <        assertTrue(lock.getOwner() != t);
88 >        assertNotSame(t, lock.getOwner());
89      }
90  
91      /**
# Line 146 | Line 146 | public class ReentrantReadWriteLockTest
146          lock.writeLock().unlock();
147      }
148  
149 <    enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil };
149 >    enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil }
150  
151      /**
152       * Awaits condition using the specified AwaitMethod.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines