lizhanhui commented on code in PR #7591: URL: https://github.com/apache/rocketmq/pull/7591#discussion_r1408678783
########## common/src/test/java/org/apache/rocketmq/common/utils/ConcurrentHashMapUtilsTest.java: ########## @@ -36,6 +36,6 @@ public void computeIfAbsent() { String value2 = ConcurrentHashMapUtils.computeIfAbsent(map, "123", k -> "2342"); assertEquals("1111", value2); // map.computeIfAbsent("AaAa", key->map.computeIfAbsent("BBBB",key2->"42")); - ConcurrentHashMapUtils.computeIfAbsent(map, "AaAa", key -> map.computeIfAbsent("BBBB", key2 -> "42")); Review Comment: Why this would result in infinite loop? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org