-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
It is possible to create a recursive call if two records include each other as a nested record.
public interface Foo {
public Bar getBar();
}
public interface Bar {
public Foo getFoo();
}Since Foo would try to calculate the size of its nested Bar and Bar the size of its nested Foo, this would run forever. The sames goes for a Record where Foo has another Foo as a nested record.
It is necessary to detect such behavior and inform the user.