You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting! You're right that this is a bug 🙈 I'm gonna try to fix it as soon as I can find some free time to focus (spontaneously I'm not sure without introducing unwanted public API...)
This fixes the problem of recursing infinitely when calling
`JavaType.getAllInvolvedRawTypes()`
for a recursive type parameter declaration (e.g. `class Example<T
extends Example<T>>`).
It also adds a new public API to conveniently traverse `JavaType`
signatures
without the need to add chains of `instanceof` checks and manually
handle how to traverse further.
Resolves: #1237
JavaType#getAllInvolvedRawTypes()
throwsStackOverflowError
when invoked on a self-referential generic type.The problem can be reproduced with the following code snippet:
The text was updated successfully, but these errors were encountered: