Skip to content

Conversation

@ic0ns
Copy link
Contributor

@ic0ns ic0ns commented Jun 19, 2025

Summary

  • Fixed ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD issue in MongoPersistenceProvider
  • Replaced static field write from instance method with proper synchronization mechanism
  • Changed from writing to static boolean field from constructor to using synchronized block with volatile flag

Replace static field write from instance method with proper synchronization.
Changed from writing to static boolean field from constructor to using
synchronized block with volatile flag for thread-safe registration control.
@ic0ns ic0ns merged commit 4c387c8 into main Jun 19, 2025
11 checks passed
@ic0ns ic0ns deleted the fix-spotbugs-static-write branch June 19, 2025 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants