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

Comparing jsr166/src/test/tck/AbstractQueuedSynchronizerTest.java (file contents):
Revision 1.65 by jsr166, Sun Jul 22 22:13:55 2018 UTC vs.
Revision 1.66 by jsr166, Tue Aug 13 00:54:51 2019 UTC

# Line 1338 | Line 1338 | public class AbstractQueuedSynchronizerT
1338          final Thread thread = newStartedThread(new CheckedRunnable() {
1339              public void realRun() {
1340                  try {
1341 <                    if (ThreadLocalRandom.current().nextBoolean())
1341 >                    if (randomBoolean())
1342                          s.acquire(1);
1343                      else
1344                          s.acquireShared(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines