Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Stackoverflow error due to parentScope of Generics being pushed as the same object #341
In our product we're currently using Kryo 2.24.0 to serialize a data structure to another node. However in some specific cases during serialization a
After much debugging we see that in this case
I've been able to create an isolated testcase in the following Gist: https://gist.github.com/hierynomus/a2f143a555466f83d9bc
This issue is reproducible with Kryo 3.0.3 when using the Gradle buildfile (Gradle 2.6) that is attached to the Gist.
In order to fix this, my initial thought was returning a boolean from
You could also do the same check before calling the
I'd be happy to send a PR, but thought I'd discuss an approach first.