Skip to content
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

Stackoverflow error with cyclic link between classes. #331

Open
boretti opened this issue May 27, 2020 · 0 comments
Open

Stackoverflow error with cyclic link between classes. #331

boretti opened this issue May 27, 2020 · 0 comments
Assignees
Projects
Milestone

Comments

@boretti
Copy link
Member

boretti commented May 27, 2020

Describe the bug
Create a class A that have a field of type B and a class B with a field of type A. In this case of bidirectionnal link when A and B instance are the same, a stackoverflow exception is produced in the WithSameValue methods

To Reproduce
See before

Expected behavior
Detection of these case when possible and avoid the stackoverflow. The solution by itself may be compile time or runtime and may require additionnal annotation.

@boretti boretti self-assigned this May 27, 2020
boretti added a commit that referenced this issue May 30, 2020
boretti added a commit that referenced this issue May 30, 2020
boretti added a commit that referenced this issue May 30, 2020
boretti added a commit that referenced this issue May 30, 2020
boretti added a commit that referenced this issue May 31, 2020
boretti added a commit that referenced this issue May 31, 2020
boretti added a commit that referenced this issue May 31, 2020
boretti added a commit that referenced this issue May 31, 2020
@boretti boretti added this to the 0.3.0 milestone May 31, 2020
boretti added a commit that referenced this issue May 31, 2020
boretti added a commit that referenced this issue May 31, 2020
boretti added a commit that referenced this issue May 31, 2020
boretti added a commit that referenced this issue May 31, 2020
 - Add ignore parameter to hasSameValue
 - Refactor according codacy and codebeat
@boretti boretti added this to To do in 0.3.0 via automation May 31, 2020
boretti added a commit that referenced this issue May 31, 2020
Issue #331 - Add a way to ignore fields in hasSameValue
boretti added a commit that referenced this issue May 31, 2020
boretti added a commit that referenced this issue Jun 1, 2020
boretti added a commit that referenced this issue Jun 1, 2020
boretti added a commit that referenced this issue Jun 1, 2020
boretti added a commit that referenced this issue Jun 1, 2020
boretti added a commit that referenced this issue Jun 1, 2020
boretti added a commit that referenced this issue Jun 1, 2020
boretti added a commit that referenced this issue Jun 1, 2020
boretti added a commit that referenced this issue Jun 1, 2020
boretti added a commit that referenced this issue Jun 1, 2020
boretti added a commit that referenced this issue Jun 1, 2020
boretti added a commit that referenced this issue Jun 1, 2020
Issue #331 - Setup first detection of cycle
boretti added a commit that referenced this issue Jun 1, 2020
boretti added a commit that referenced this issue Jun 1, 2020
@boretti boretti moved this from To do to In progress in 0.3.0 Sep 13, 2020
@boretti boretti moved this from In progress to Done in 0.3.0 Sep 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
0.3.0
  
Done
Development

No branches or pull requests

1 participant