You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2012/09/12 07:48:08 UTC

[jira] [Updated] (LANG-820) TypeUtils.normalizeUpperBounds broken?

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

Henri Yandell updated LANG-820:
-------------------------------

    Component/s: lang.reflect.*
    
> TypeUtils.normalizeUpperBounds broken?
> --------------------------------------
>
>                 Key: LANG-820
>                 URL: https://issues.apache.org/jira/browse/LANG-820
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.reflect.*
>    Affects Versions: 3.0.1
>            Reporter: Shevek
>
> I looked at TypeUtils.normalizeUpperBounds, and I think (from code review) that:
> normalize(new Class[] { String.class, String.class }) == { String.class, String.class }
> which is not normalized. Didn't prove it with junit.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira