You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2023/07/23 12:26:00 UTC

[jira] [Resolved] (LANG-1698) Parameterized Types with Wildcards lead to StackOverflows on toString

     [ https://issues.apache.org/jira/browse/LANG-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory resolved LANG-1698.
-----------------------------------
    Fix Version/s: 3.13.0
       Resolution: Fixed

Already fixed in git master. Added {{org.apache.commons.lang3.reflect.TypeUtilsTest.test_LANG_1698()}}

> Parameterized Types with Wildcards lead to StackOverflows on toString
> ---------------------------------------------------------------------
>
>                 Key: LANG-1698
>                 URL: https://issues.apache.org/jira/browse/LANG-1698
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.reflect.*
>    Affects Versions: 3.11, 3.12.0
>            Reporter: Jan Arne Sparka
>            Priority: Major
>             Fix For: 3.13.0
>
>         Attachments: TestClass2.java
>
>
> ParameterizedTypes from TypeUtils.parameterize(Class<?> rawClass, Type... typeArguments) which contain Wildcards as typeArguments can lead to infinite loops.
> MVE attached.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)