changeset 48254:f55cdd83e303

8191069: Miscellaneous changes imported from jsr166 CVS 2017-12 Reviewed-by: martin, psandoz
author dl
date Sat, 02 Dec 2017 10:13:18 -0800
parents ff597804e8c1
children fd53d07dade6
files test/jdk/java/util/concurrent/tck/StampedLockTest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/jdk/java/util/concurrent/tck/StampedLockTest.java	Sat Dec 02 10:08:55 2017 -0800
+++ b/test/jdk/java/util/concurrent/tck/StampedLockTest.java	Sat Dec 02 10:13:18 2017 -0800
@@ -614,7 +614,7 @@
         long s = lock.readLock();
         Thread t = newStartedThread(new CheckedRunnable() {
             public void realRun() {
-                threadAssertEquals(0L, lock.tryWriteLock());
+                assertEquals(0L, lock.tryWriteLock());
             }});
 
         awaitTermination(t);