--- jsr166/src/test/tck/ConcurrentHashMapTest.java 2018/10/05 19:01:35 1.59 +++ jsr166/src/test/tck/ConcurrentHashMapTest.java 2018/10/05 22:12:45 1.60 @@ -838,8 +838,6 @@ public class ConcurrentHashMapTest exten assertEquals(mapSize, map.size()); } - - public void testReentrantComputeIfAbsent() { ConcurrentHashMap map = new ConcurrentHashMap<>(16); try { @@ -856,5 +854,5 @@ public class ConcurrentHashMapTest exten return (key % 5 == 0) ? key : map.computeIfAbsent(key + 1, k -> findValue(map, k)); } - + }