[
https://issues.apache.org/jira/browse/LANG-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17742948#comment-17742948
]
Renny Barrett commented on LANG-1702:
-------------------------------------
... And not breaking any existing correct behaviour.
> TypeUtils.unrollVariables can cause a StackException for parameterized inner
> class
> ----------------------------------------------------------------------------------
>
> Key: LANG-1702
> URL: https://issues.apache.org/jira/browse/LANG-1702
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.reflect.*
> Affects Versions: 3.12.0
> Reporter: Renny Barrett
> Priority: Major
> Attachments: TestTypeUtilsUnwrap.java
>
>
> If TypeUtils.unrollVariables is called for a type which is a non-static inner
> class where the inner class and its enclosing class both have type
> parameters, then there's an infinite recursion which results in a
> StackOverflow error.
>
> Simple test code that recreates the issue is attached.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)