You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a sample project to show the issue. https://github.com/lawrencexu/cyclic-dependency-test
Highwheel fails to find the package level cyclic dependencies when there is sub-package involved.
Is there any way to solve this issue?
The text was updated successfully, but these errors were encountered:
The cycle is caused by referencing a static string. This is inlined by the compiler so it is not possible to tell from the bytecode where the string came from.
Fundamentally a bytecode based tool can't detect dependencies of this type.
@hcoles
Thank you very much for the quick response.
To better address this issue, I have updated the sample project and switched the static string to a normal method instead to avoid the optimization done by compiler and still get the same result.
From my understanding, it can be reproduced when
ClassA in package A references ClassB in package B
ClassC in a sub-package of package B references ClassA in package A
Intellij considers this scenario a package level cyclic dependency issue while highwheel does not.
I have created a sample project to show the issue.
https://github.com/lawrencexu/cyclic-dependency-test
Highwheel fails to find the package level cyclic dependencies when there is sub-package involved.
Is there any way to solve this issue?
The text was updated successfully, but these errors were encountered: