We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I found a bug, not just asking a question, which should be created in GitHub Discussions.
I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.
I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Mac OS 13.0
branch: (develop|tag 5.1.1) version: 5.1.1
jdk8
ConcurrentHashMapUtils 中提供的computeIfAbsent方法没有解决jdk8的循环问题,复现代码如下
@Test public void computeIfAbsent() { ConcurrentHashMap<String, String> map = new ConcurrentHashMap<>(); // map.computeIfAbsent("AaAa", key->map.computeIfAbsent("BBBB",key2->"42")); ConcurrentHashMapUtils.computeIfAbsent(map, "AaAa", key -> map.computeIfAbsent("BBBB", key2 -> "42")); }
The text was updated successfully, but these errors were encountered:
[ISSUE #6879] ConcurrentHashMapUtils fails to solve the loop bug in J…
7996ec3
…DK8 (#6883)
Successfully merging a pull request may close this issue.
Before Creating the Bug Report
I found a bug, not just asking a question, which should be created in GitHub Discussions.
I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.
I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Runtime platform environment
Mac OS 13.0
RocketMQ version
branch: (develop|tag 5.1.1) version: 5.1.1
JDK Version
jdk8
Describe the Bug
ConcurrentHashMapUtils 中提供的computeIfAbsent方法没有解决jdk8的循环问题,复现代码如下
The text was updated successfully, but these errors were encountered: