-
Notifications
You must be signed in to change notification settings - Fork 300
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
Sample request: detect cycles among static initializers #470
Comments
Unfortunately I think at the moment the cycle algorithm of ArchUnit is not public API for use cases outside of the slices API 🤔
It's just a quick hack and not very sophisticated, also doesn't report exactly, how the cycle looks like, but only that within a set of classes a cycle between static initializers occurred. And reports the same cycle once for each static initializer 😉 |
Sample issues: google/guava#1977 , apache/calcite#2255
It would be nice if there was a documented sample that configures ArchUnit to detect cycles among class initializers.
The text was updated successfully, but these errors were encountered: