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.9 by dl, Mon Dec 22 00:48:56 2003 UTC vs.
Revision 1.10 by dl, Sat Dec 27 14:16:33 2003 UTC

# Line 57 | Line 57 | public class ReentrantReadWriteLockTest
57              return super.getQueuedThreads();
58          }
59          public PublicCondition newCondition() {
60 <            return new PublicCondition(this);
60 >            return new PublicCondition();
61          }
62  
63 <        static class PublicCondition extends ReentrantReadWriteLock.WriterConditionObject {
64 <            PublicCondition(PublicReentrantReadWriteLock l) { super(l); }
63 >        class PublicCondition extends ReentrantReadWriteLock.WriterConditionObject {
64 >            PublicCondition() { }
65              public Collection<Thread> getWaitingThreads() {
66                  return super.getWaitingThreads();
67              }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines