GitHub user nielsbasjes opened a pull request:
https://github.com/apache/avro/pull/128
AVRO-1923: Stop infinite recursion in GenericData.toString
Simply keep count of the recursion depth and stop at 50 (which seems to me
like a good value)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nielsbasjes/avro AVRO-1923
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/avro/pull/128.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #128
----
commit 1a0c0ee22e891537e58f713d3e5dee11b3396da7
Author: Niels Basjes <[email protected]>
Date: 2016-09-22T12:42:47Z
AVRO-1923: Stop infinite recursion in GenericData.toString
----
---
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.
---