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

Comparing jsr166/src/test/tck/StampedLockTest.java (file contents):
Revision 1.46 by jsr166, Wed Aug 12 16:15:28 2020 UTC vs.
Revision 1.47 by dl, Tue Jan 26 13:33:06 2021 UTC

# Line 1401 | Line 1401 | public class StampedLockTest extends JSR
1401          final long testDurationMillis = expensiveTests ? 1000 : 2;
1402          final int nTasks = ThreadLocalRandom.current().nextInt(1, 10);
1403          final AtomicBoolean done = new AtomicBoolean(false);
1404 <        final List<CompletableFuture> futures = new ArrayList<>();
1404 >        final List<CompletableFuture<?>> futures = new ArrayList<>();
1405          final List<Callable<Long>> stampedWriteLockers = List.of(
1406              () -> sl.writeLock(),
1407              () -> writeLockInterruptiblyUninterrupted(sl),

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines