Github user cloud-fan commented on the issue:
https://github.com/apache/spark/pull/17188
We don't support circle reference in class hierarchy, so this case should
fail.
But this PR only checks if a field is same-type of the class, not for all
circles. e.g.
```
class A {
B b;
}
class B {
A a;
}
```
will still throw StackOverflowError
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]