Skip to content

Avoid recursive nested records #34

@Neiko2002

Description

@Neiko2002

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions