Skip to content

[7.0-beta] Fix recursive update #71

New issue

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

Merged
merged 2 commits into from
Mar 26, 2025

Conversation

PaintNinja
Copy link
Contributor

Fixes the thread-safety issue mentioned in MinecraftForge/MinecraftForge-Experimental#1.

Basically a version of 6.2's CacheConcurrent#computeIfAbsent without the finalizer param.

@PaintNinja PaintNinja added the bug Something isn't working label Mar 23, 2025
@LexManos
Copy link
Member

Any chance of a unit test that illustrates that it is fine?
Similar to the old tests

@LexManos
Copy link
Member

Going to pull this, but the test should be added at some point before release.

@LexManos LexManos merged commit b16bcf7 into MinecraftForge:master Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants