8191069: Miscellaneous changes imported from jsr166 CVS 2017-12

Reviewed-by: martin, psandoz
This commit is contained in:
Doug Lea 2017-12-02 10:13:18 -08:00
parent 850b92fa04
commit 8a51910f8e

View File

@ -614,7 +614,7 @@ public class StampedLockTest extends JSR166TestCase {
long s = lock.readLock();
Thread t = newStartedThread(new CheckedRunnable() {
public void realRun() {
threadAssertEquals(0L, lock.tryWriteLock());
assertEquals(0L, lock.tryWriteLock());
}});
awaitTermination(t);