--- jsr166/src/test/tck/StampedLockTest.java 2016/11/06 22:42:10 1.29 +++ jsr166/src/test/tck/StampedLockTest.java 2017/02/18 00:32:30 1.30 @@ -272,7 +272,6 @@ public class StampedLockTest extends JSR * interruptible operations throw InterruptedException when pre-interrupted */ public void testInterruptibleOperationsThrowInterruptedExceptionWhenPreInterrupted() { - final CountDownLatch running = new CountDownLatch(1); final StampedLock lock = new StampedLock(); Action[] interruptibleLockActions = { @@ -337,7 +336,6 @@ public class StampedLockTest extends JSR * interruptible operations throw InterruptedException when write locked and interrupted */ public void testInterruptibleOperationsThrowInterruptedExceptionWriteLockedInterrupted() { - final CountDownLatch running = new CountDownLatch(1); final StampedLock lock = new StampedLock(); long s = lock.writeLock(); @@ -360,7 +358,6 @@ public class StampedLockTest extends JSR * interruptible operations throw InterruptedException when read locked and interrupted */ public void testInterruptibleOperationsThrowInterruptedExceptionReadLockedInterrupted() { - final CountDownLatch running = new CountDownLatch(1); final StampedLock lock = new StampedLock(); long s = lock.readLock();